activeCollab 2 : Scheduled Tasks + Media Temple dv

I recently installed activeCollab onto my web server and setup the scheduled tasks through the Crontab on my Media Temple dv Plesk control panel.


Setting up activeCollab’s Scheduled Tasks on a Media Temple dv

Log-in to your activeCollab installation and go to Admin » Scheduled Tasks and copy the Event URL’s for all three events.


image

Next, log-in to your Media Temple Plesk panel and go to the Crontab and add a new scheduled task.

You will be presented with a window like the one below. In this example… I am scheduling the hourly task to run.


image

The 0 in the minute field means run it on the hour (at the 0 minute mark). The asterisk denotes All, meaning it will run on the hour every hour, every day, of every week, of every month.

The command needed to ping the url and trigger the event looks like the one below. Be sure to replace the url with your own Event URL’s that you retrieved in the first step:

curl -s -S ‘http://yourdomainhere.com/?path_info=hourly&code=YourCode’ > /dev/null

-s Silent Mode
-S Report errors
> /dev/null Ignore any regular output

The quotes around the Event URL are important, otherwise the ‘&code=YourCode’ will not parse correctly.

If your events are not triggering and you’re getting a 403 Forbidden error… make sure you included quotes around the Event URL in the Command statement.

Create tasks for all three activeCollab events… Frequently, Hourly, and Daily.


image

In my case… my Hourly event runs on the hour, my Daily event runs everyday at 6 am, and my Frequently event runs every 10 minutes.