Jump to content
  • 0

Cron Job Update Automatically


uitsbd

Question

5 answers to this question

Recommended Posts

  • 0

I will post steps to add cron job but keep in mind that most providers(webhostingbuzz and site5 have it in TOS if not changed)..don't alow CLI cron jobs under 30 minutes on shared hosting,you can see it and even set it but it won't execute....

 

Now log in to cpanel and click on cron jobs ,under common settings select "once per five minute" than under command paste your cron command,you can find cron command in blesta settings->system->automation

 

 

IF YOUR provider don't allow CLI cron jobs at 15 minutes than insted CLI set web cron and it will execute(confirmed for WHB),web cron is like this

Steps are same in cpanel just insted php command you can see in blesta settings->system->automation put this

GET https://yoururl.com/blesta_dir/cron/?cron_key=PUT_HERE_CRON_KEY 

 Just change url,blesta_dir and cron key
Cron key can be found also at blesta settings->system->automation

Just to be clear unlike CLI cron,  Web cron can be set on different server,hosting account you have with other provider,third party cron provider....etc and it will work same job.

Link to comment
Share on other sites

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.

Loading...
×
×
  • Create New...