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
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
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
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