Find the answer to your Linux question:
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. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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 ?

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •