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.

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:
    275
    Likes Received:
    31
    Trophy Points:
    28
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    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.
     
Loading...

Share This Page