creating crontab

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bhing
    New Member
    • Oct 2006
    • 43

    creating crontab

    hiya!!!
    i would like to know about crontab on where can we find the log file of it.. Or can we make a logfile for the scheduled jobs so that i will be able to know if it succeed or if not what is the errors occured while executing the command.. tnx for the time folks..
  • michaelb
    Recognized Expert Contributor
    • Nov 2006
    • 534

    #2
    The location of the log is OS dependent, for example on Solaris this is usually /var/cron/log, while on Linux you need to look at /var/log/cron (and you may see older logs: /var/log/cron1, /var/cron/log2, etc)

    See the cron man page on your specific platform for more details.

    Comment

    • bhing
      New Member
      • Oct 2006
      • 43

      #3
      thnks for the reply... i really appreciate it...
      another question: does disabling anacron affect the crontab?

      Comment

      • michaelb
        Recognized Expert Contributor
        • Nov 2006
        • 534

        #4
        I don't think any anacron operations or settings should affect crontab or any jobs managed by crond. These are two independent facilities.
        You can verify this assumption with a practical test.

        Comment

        • bhing
          New Member
          • Oct 2006
          • 43

          #5
          ok.. ive tried cron w/ disabled anacron.. and it still work..
          my only problem now is to backup files remotely using cron.... tnx again

          Comment

          Working...