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!

cPanel WHM - cPanel CronJobs Don't Works

Discussion in 'General Discussion' started by reletobg, Aug 14, 2012.

  1. reletobg

    reletobg Member

    Joined:
    Aug 14, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I have installed cPanel WHM at VPS and i make one reseller account for my site, but the job don't run even one time. I use this code for the cron:
    */5 * * * * /usr/local/bin/php -f /home/proget/public_html/cron.php
    I enter my email in cron to send me email but don't send emails, the mail server works fine.
    I can't fiend any answer about this problem in Google so i try here , i hope here will help me some one. :rolleyes:
     
  2. flectsoft

    flectsoft Registered

    Joined:
    Aug 8, 2012
    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    cPanel Access Level:
    Root Administrator
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,175
    Likes Received:
    1,934
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Please ensure the "crond" service is running. EX:

    Code:
    # service crond status
    If it's not running, start it via:

    Code:
    # service crond start
    If it is running, please try running your PHP command manually to ensure it completes successfully.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. reletobg

    reletobg Member

    Joined:
    Aug 14, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    The cron was not started. Thanks for the help ! :)
     
  5. mirtillion

    mirtillion Registered

    Joined:
    Apr 28, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello, I have the same problem. I checked the crond in SSH and it is running. I checekd the cron log too and found that the cron job is running without any error, however in the mail logs I didn't found any emails regarding the cron. It seems so, as I wouldn't set the email address properly up in the cPanel cron menu, but I did.
    Can you help me on this?
    Thanks.

    Peter Horvath
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,175
    Likes Received:
    1,934
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Could you paste the full cron job that you have configured (removing account specific details and email addresses) so we can let you know if it's a valid cron job?

    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