Setting up a Scheduled Task in Windows
From Cerberus Helpdesk Wiki
- Get the latest stable binary build of wget from here.
- Extract the zip into a new directory (e.g., C:\tools\wget\).
- Open Control Panel->Scheduled Tasks.
- Click 'Add Scheduled Task'.
- Click 'Next'.
- Click 'Browse' and select C:\tools\wget\wget.exe (or the appropriate path).
- Change the task name to Cerberus Helpdesk POP3 Check and the interval to Daily.
- Click 'Next'.
- Keep the defaults and click 'Next'.
- Check 'Open Advanced Properties' and click 'Finish'.
- Append --spider -q -b www.yoursite.com/cerb5/cron to the "Run:" text. Be sure to add a space after wget.exe. Note: if your helpdesk urls contain index.php/, then you will need to include that here as well.
- Click the 'Schedule' tab.
- Set the Start Time to 12:00 AM
- Click the 'Advanced' button.
- Check 'Repeat Task'. Select Every 5 Minutes until Time: 11:59 PM. Note this means email will download every 5 minutes no matter what Helpdesk Setup->Scheduler is set to. Reduce this time if you want mail checked more frequently.
- Click 'Apply'.
If you set the task to run as your current user, you're going to see a brief flashing MS-DOS window every 5 minutes as the command runs. The best way to fix this is to create a different user to run the task as.
- Be sure that under "Helpdesk Config -> General Settings -> Security" the IP of the cron-machine (usually 127.0.1.1) is added. To be super sure, add "127.0.".
- Warning the URL used to call the cron script will be used in notifications generated by said scripts. Don't use localhost no mater want.
- Need instructions for Linux?