Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to check cron logs from cpanel

Discussion in 'General Discussion' started by yeasirh, Oct 7, 2015.

  1. yeasirh

    yeasirh Registered

    Joined:
    Oct 7, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dhaka, Bangladesh
    cPanel Access Level:
    Website Owner
    hello, how can i check cron logs from cpanel. Basically my cronjob function is not working so i think the probable solution for this should be checking the cron log and sorting out errors. Please suggest me if you have any better solution.

    Thanks in advance
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    718
    Likes Received:
    122
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    You can check
    Code:
    # grep $user /var/log/cron
    That will let you know if the crons are firing or not for a specific user. If it is, you can go into cPanel, click on the cronjob icon, then enter in your email address in the first field. Next time it triggers, if its reporting any errors, it should send them to your email.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can not review the cron log in /var/log/cron without root access to the system. I suggest reporting the issue to your web hosting provider so they can take a closer look.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice