Solved How to get the stderr output in crontab?

Hello everyone,


I would like to know where I can find possible error messages created by scripts that are called in crontab.

The 2>&1 at the end of the command line does not work (seems it works with bash, but I could not find an equivalent for csh).

/var/log/cron never tells a word about errors, even when there are some. I could not find any other log file that could report these errors.

Anyone knows how to do that?

Cheers,

QZ
 
Output from cron jobs is mailed to the root user by default. Try running mail as root and see if their are any messages.
 
Back
Top