Clinton R over at Q Digital Studio wrote up a detailed walk through of how to get Cron working with ExpressionEngine add-ons


Greetings All!

I am not affiliated with Backup Pro, but I ran across this question and being as I just went through something similar, I figured I would post how I went about solving this issue.

The steps below are for Rackspace only.

To setup the CRON in Rackspace do the following:

1) Login to your website control panel (should be under www.websitesettings.com - yours may be different?)
2) Click “Websites and Email” at the left of the screen
3) Click your website url
4) In the screen that appears, click on the “Features” tab
5) Scroll down to “Scheduled Tasks (Cron Jobs) - Click Add New Task
6) Set the Status to “On”
7) Name your task (something meaningful)
8) Enter an email address where you want to receive notifications when the Cron runs

The next steps are really important

9) Set the command language to “http”
10) Set “Command to Run” equal to http://www.anysite.com?ACT=11&type=combined

WHERE:

http://www.anysite.com is equal to your site URL

AND

?ACT=11&type=combined is equal to the backup command string generated in your Backup Pro Module Control Panel (Add-ons -> Modules -> Backup Pro -> Settings -> Backup Type).

11) Select your “Repeat by the” option
12) Set the “Frequency” to what you feel is necessary
13) Set the start time (set it to a time when peak traffic is at a minimum)

Then save the task and that should do it!

Note: If you want to test to see if it is in fact running without having to wait a long time for it to run, set the date to run equal to today’s date and then the time to run equal to 5 minutes ahead of the current time. Save the task and then wait for it to run. When it runs, you will receive an email letting you know. If it runs, you are set to go. Change the time back to what you had initially set it to and let the server do the rest.

Second Note: When running the quick check mentioned above to see if it is working, if you do not receive an email confirmation within 10 minutes of the time it was supposed to run, rest the Cron Time to run an hour and 5 minutes ahead of the current time.

Example: The current time is 1:30pm and to test it, you set the Cron to run at 1:35pm. If you don’t receive a confirmation that it has run by 1:45pm, change the Cron time to run at 2:50pm and see if that works. It should

That’s all there is to it! No need to hook up a WGET.

Hope this helps someone. Let me know if you have any questions, I might be able to help you out.

Clinton R.
Q Digital Studio