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
  On 1/20/2016 at 12:25 AM, Licensecart said:

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)
  On 1/20/2016 at 12:45 AM, evolvewh said:

 

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
  On 1/20/2016 at 12:57 AM, MineHarvest66 said:

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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...