The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

error logs for cron

Discussion in 'General Discussion' started by drifterlrsc, Dec 14, 2006.

  1. drifterlrsc

    drifterlrsc Registered

    Joined:
    Nov 25, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    where can I find error logs for cron jobs I set up in my cpanel?

    I have a script that runs in a browser, but as cron it never reaches the end and emails me OR makes my record in the DB of what happens. It just stops. I am assuming an error, but I look in the error log in my CPanel and see nothing.

    Thanks
    Scott
     
  2. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    check the log file: /var/log/cron or possibly the /var/log/messages

    mickalo
     
  3. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ~ "/(extra|special)/data"
    Either that, or maybe it doesn't even start... try running the command via SSH & see what the output is.

    Maybe the cron is running, but never stops? Might be worth checking the currently running processes to ensure you haven't got an infinite loop happening.
     
Loading...

Share This Page