Results 1 to 6 of 6

Thread: cPanel WHM - cPanel CronJobs Don't Works

  1. #1
    Member
    Join Date
    Aug 2012
    Posts
    7
    cPanel/WHM Access Level

    Website Owner

    Question cPanel WHM - cPanel CronJobs Don't Works

    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.

  2. #2
    Registered User
    Join Date
    Aug 2012
    Posts
    1
    cPanel/WHM Access Level

    Root Administrator

    Default Re: cPanel WHM - cPanel CronJobs Don't Works

    Try using the web address. Such as */5 * * * * and the command as: curl http://mywebaddress.net/cron.php This command works at the very best for my site

  3. #3
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    2,195
    cPanel/WHM Access Level

    Root Administrator

    Default Re: cPanel WHM - cPanel CronJobs Don't Works

    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.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  4. #4
    Member
    Join Date
    Aug 2012
    Posts
    7
    cPanel/WHM Access Level

    Website Owner

    Default Re: cPanel WHM - cPanel CronJobs Don't Works

    The cron was not started. Thanks for the help !

  5. #5
    Registered User
    Join Date
    Apr 2013
    Posts
    1
    cPanel/WHM Access Level

    Root Administrator

    Default Re: cPanel WHM - cPanel CronJobs Don't Works

    Quote Originally Posted by cPanelMichael View Post
    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.
    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. #6
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    2,195
    cPanel/WHM Access Level

    Root Administrator

    Default Re: cPanel WHM - cPanel CronJobs Don't Works

    Quote Originally Posted by mirtillion View Post
    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.
    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.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

Similar Threads

  1. Whm/Cpanel works 100% with 64 bits linux?
    By tolouei in forum New User Questions
    Replies: 4
    Last Post: 06-06-2008, 12:26 PM
  2. website works, but can't access whm/cpanel
    By majik in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 05-24-2006, 04:50 PM
  3. Cronjobs donīt work
    By dnagency in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 09-25-2005, 07:50 AM
  4. whm works but cpanel does not
    By gopederick in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 06-20-2004, 11:38 AM
  5. CPanel can't be found, WHM works, server works..?
    By infinityws in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 10-03-2003, 06:43 AM