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.

Cron Jobs Error

Discussion in 'General Discussion' started by chub, Aug 21, 2012.

  1. chub

    chub Registered

    Joined:
    Aug 21, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi,

    I recently set up Cron jobs in C-panel in a version provided by my hosting company (Vodahost). We've looked at the commands and the script to make sure I entered the commands correctly in Cpanel. However, the following error occurs in each of my cron job notification emails. Can anyone shed some light as to how I can get this resolved?

    Thanks in advance.


    Status: 500 Internal Server Error
    X-Powered-By: PHP/5.3.13
    Set-Cookie: PHPSESSID=1570cdbe3fa5cb98d6ba6cbabd623f35; path=/
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Content-type: text/html
     
  2. lijeeshsd

    lijeeshsd Active Member

    Joined:
    Apr 22, 2005
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Are you using curl, lynx or a similar tool to access a web page in the cron job? If so, you can find out the reason for 500 Internal Server Error from Apache error log, /usr/local/apache/logs/error_log. Once you find the reason for error from the log, it should be easy to fix it.
     
  3. chub

    chub Registered

    Joined:
    Aug 21, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Thanks. I's using curl. How do I access /usr/local/apache/logs/error_log.
     
Loading...

Share This Page