Results 1 to 2 of 2
I have written a custom cron. This cron executes a rake task every 5 minutes. I also log the trace of this execution in a file locally on my server. ...
- 09-29-2011 #1Just Joined!
- Join Date
- Sep 2011
- Posts
- 1
Cron syslog issue
I have written a custom cron. This cron executes a rake task every 5 minutes. I also log the trace of this execution in a file locally on my server. The whole process seems to execute seamlessly every 5 minutes, but then it seems to log it in /var/log/syslog. I investigated on the syslog and found that system's critical errors, and other cron issues are logged in syslog. Has anybody faced this kind of an issue ?
- 09-29-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
What is your distro? I don't have a /var/log/syslog, rather I have /var/log/messages.
At any rate, it is normal for crond (and many other Linux program/daemons) to send status output (normal, warnings, and errors) to the default messaging logger. The cron daemon also typically logs the specific jobs that it runs to /var/log/cron.


Reply With Quote