Jump to content
  • 0

Cron Jobs


Dynamic95

Question

5 answers to this question

Recommended Posts

  • 0

You will find cron command in settings--->sistem--->automation   Here is  cron job  format 

/usr/bin/php /home_dir/user_dir/public_html/blesta/index.php cron

,you can  also put this command  

GET https://yourdomain.com/blesta_dir/cron/?cron_key=your_cron_key

  .NEED REPLACE your_cron_key  with cron key you can find in setings--->sistem-automation,and also replace yourdomain.com and blesta_dir wiith your domain and your blesta installation dir.

Link to comment
Share on other sites

  • 0

If it helps anyone, my cron jobs stopped running after updating Blesta. (My server is using Plesk)

I was using:

 

/usr/bin/php /home_dir/user_dir/public_html/blesta/index.php cron

 

I am now switched to curl instead:

 

curl -L --max-redirs 1000 -v "https://yourdomain.com/blesta_dir/cron/?cron_key=your_cron_key" 1>/dev/null 2>/dev/null

 

regards

Trevor

 

## Update ##

Curl is a bit fussy about who issued the server certificate so if the above doesn't work try:

curl -L -k --max-redirs 1000 -v "https://yourdomain.com/blesta_dir/cron/?cron_key=your_cron_key" 1>/dev/null 2>/dev/null

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...