Re: [Bug-wget] Errors-only mode

2017-08-11 Thread Tim Rühsen
On Donnerstag, 10. August 2017 22:26:44 CEST Dale R. Worley wrote: > Tim Rühsen 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

Re: [Bug-wget] Errors-only mode

2017-08-10 Thread Dale R. Worley
Tim Rühsen 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

Re: [Bug-wget] Errors-only mode

2017-08-10 Thread Tim Rühsen
On Mittwoch, 9. August 2017 22:08:12 CEST Dale R. Worley wrote: > Is there a way of invoking wget that produces no output if the operation > is successful (let's assuming that I'm fetching exactly one URL) and > produces appropriate error messages if it is not? > > I would have thought this was

[Bug-wget] Errors-only mode

2017-08-09 Thread Dale R. Worley
Is there a way of invoking wget that produces no output if the operation is successful (let's assuming that I'm fetching exactly one URL) and produces appropriate error messages if it is not? I would have thought this was easy, but I can't figure out how to do it. Even redirecting stdout to null