Jump to content

Question

Posted

Hi I recently installed Blesta Invoicing system with Installatron from Godaddy but for some reason my cron command doesn't updated unless I run it manually

 

  I have a Web Host account with Godaddy which has CPanel.

 

Do I need to add anything Via CPanel

5 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

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

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