Setting up a Scheduled Task in Windows

From Cerberus Helpdesk Wiki

Jump to: navigation, search
  1. Get the latest stable binary build of wget from here.
  2. Extract the zip into a new directory (e.g., C:\tools\wget\).
  3. Open Control Panel->Scheduled Tasks.
  4. Click 'Add Scheduled Task'.
  5. Click 'Next'.
  6. Click 'Browse' and select C:\tools\wget\wget.exe (or the appropriate path).
  7. Change the task name to Cerberus Helpdesk POP3 Check and the interval to Daily.
  8. Click 'Next'.
  9. Keep the defaults and click 'Next'.
  10. Check 'Open Advanced Properties' and click 'Finish'.
  11. 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.
  12. Click the 'Schedule' tab.
  13. Set the Start Time to 12:00 AM
  14. Click the 'Advanced' button.
  15. 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.
  16. 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.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox