Thanks Matt!! What about errors - don't they get logged automatically? On 2015-07-22 10:18, Matt Graham wrote: >>> On 7/21/2015 3:28 PM, Keith Smith wrote: >>>> Any idea why the error was not written to /var/log/cron ? >> On 2015-07-21 19:14, George Toft wrote: >>> Probably because it went into the mail? > On 2015-07-21 19:45, Keith Smith wrote: >> I'm not following. What are you saying? > > When a cron job runs, the default behavior of the cron daemon is to > take that cron job's stdout and stderr and mail those things to the > user who ran the job. This is why many regular cron jobs have "> > /dev/null" in their crontab after they've been debugged. If you want > the output of cron jobs to be written to syslog, on CentOS 6, you'd > modify /etc/sysconfig/crond and add -s to the CRONDARGS variable and > restart crond. -- Keith Smith --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss