tags:

views:

43

answers:

1

Hi. Is there an opportunity to write STDERR message to the /var/cron/log file when a job fails to execute? Or only the return codes can be written?

+1  A: 

I think the /var/cron/log is only used by cron itself, but you could redirect stderr into some other log file:

00 23 * * * /path/to/whatever 2>/some/log
Nick Dixon