Jump to content
  • 0

Cannot Get Cron To Run In Cpanel No Matter What I Try..


Question

Posted

Hi I cannot get the cron to run in Cpanel no matter what I tried, from manually entering it, the default one that Softalious installed, and the altervative the manual suggested..   

 

Can someone please help me find out why a Cron won't runs automatically in Cpanel? It works like a charm when it ran manually. 

5 answers to this question

Recommended Posts

  • 0
Posted

it should be /usr/local/bin/php /home/username/public_html/blestafolder/index.php cron

 

Thanks so I would put that in Cpanel along with the schedule (separate of course) and edit the existing one in Blesta itself as such? If so how do I actually edit and update it in Blesta?

  • 0
Posted (edited)

 

Okay I have the following.. 

"*/5 * * * *" via the Cpanel's schedulor 

and "/usr/local/bin/php /home/CpanelUser/public_html/dirofinstallion/index.php cron/?cron_key=mykey >/dev/null 2>&1" as the command in Cpanel. 

 

Okay now it working! Thanks you very much. 

Edited by MineHarvest66
  • 0
Posted

Okay I have the following.. 

"*/5 * * * *" via the Cpanel's schedulor 

and "/usr/local/bin/php /home/CpanelUser/public_html/dirofinstallion/index.php cron/?cron_key=mykey >/dev/null 2>&1" as the command in Cpanel. 

 

Okay now it working! Thanks you very much. 

You're welcome! I'm glad it helped out another cPanel user!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...