[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Errors-only mode
From: |
Dale R. Worley |
Subject: |
Re: [Bug-wget] Errors-only mode |
Date: |
Thu, 10 Aug 2017 22:26:44 -0400 |
Tim Rühsen <address@hidden> writes:
> wget -o/dev/null URL
>
> You can check for errors via the $? (on Linux, there should be something
> comparable on other systems).
Yes, but since I'm running it in crontab, I really do want to have
output if an error occurs. Of course, I can rig that by testing $?, but
I'd rather see something like grep's behavior, where there is output to
stderr if and only if an error was detected.
Dale