InMotion Hosting Support Center

Daily Cron is not running

Category: Cpanel

InMotionFans
n/a Points
Asked:
2015-06-11 12:24 pm EST

Hits: 409
I've tried several methods of running a cron daily without success.

Methods thus far. One day at a time
php -q /home/USER/PATHTO/SITEROOT/index.php?ACT=24&id=25
/usr/bin/curl --user-agent cPanel-Cron http://www.URL.com/index.php?ACT=24&id=25
/usr/bin/curl --user-agent cPanel-Cron 'http://www.URL.com/index.php?ACT=24&id=25'

Settings in cPanel
Minute Hour Day Month Weekday
0 7 * * *
So run everyday at 7:00 AM.

If I manually run the url, it takes about 5 seconds to process so I'm pretty sure that's not an issue. Is there something else I could try?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

John-Paul
Staff
30,400 Points
2015-06-11 1:05 pm EST
Hello,

Thank you for contacting us about issues running a cron job. I looked at your cron script, and it looks to be coded correctly.

I recommend checking to see if the cron ran successfully in the logs.

If you have any further questions, feel free to post them below.

Thank you,
John-Paul B

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

   
Social Login Joomla

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!