On 2014-08-09T13:25:21 +0200
Stephan Beal <[email protected]> wrote:

> You can suppress that: simply redirect all output: >/dev/null 2>&1
> cron only mails if the program generates output. Better yet, redirect it
> all to a running log file:
> 
> >> /path/to/log 2>&1

The problem there is that I want it to tell me when a sync fails, but I
don't want to hear "sync succeeded" over and over. Essentially, I only
want output if the process in question returns a non-zero exit code.
The program I ended up writing to perform syncs does this check, and so
I only get an inbox full of errors instead!

M
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to