Setting up Recurring Task Activation
Since we don't want to show all occurences of a task at once, we need a way to activate recurring tasks
CRON access is used on Mac OS X, Unix, Linux boxes for running scheduled tasks. Mac OS X users may want to take a look at CronniX, a freeware application that gives a user interface to CRON configuration. If you do not have CRON access, you may want to check out Psuedo-CRON or a similar solution.
Windows users should look at using one of the following utilities:
Using CRON on a UNIX/Linux/Mac OS X server you can set up a CRON job to load the activate_tasks.php page once a day to activate task occurences. On windows, I know you can schedule a task to do the same thing - someone tell me how and I'll add it here.
The your-password below is the 'Password for CRON Jobs' in your Server Settings.
Here is the syntax for 2 ways to hit the page at 1am using CRON.
This way should be most compatible:
0 1 * * * wget -q --delete-after http://www.example.com/tasks/activate_tasks.php?password=your-password
Mac OS X users may need to use 'curl' instead of 'wget'.
0 1 * * * curl http://www.example.com/tasks/activate_tasks.php?password=your-password
This way should work fine as long as you have lynx installed:
0 3 * * * lynx -source http://www.example.com/tasks/activate_tasks.php?password=your-password
Previous Page | Table of Contents | Next Page
Last Modified: June 13, 2007 @ 8:37 pm