Navigation:  Appendixes > Appendix B  Scheduling Projects > Scheduling your projects under Windows >

Scheduling in Windows Scheduled Tasks program

Previous pageReturn to chapter overviewNext page

Once you have created a scheduling file, you can schedule this file to run with the Windows Schedule Tasks program. This example is from Windows XP Pro with all service packs applied.

To schedule your file, do the following:

 

1.Click the Start button on the Task bar, then point to All Programs | Accessories | System Tools and click Scheduled Tasks. The Scheduled Tasks window will display.
2.Double-click Add Scheduled Task in the tasks list. The Scheduled Tasks Wizard will display.
3.Click Next to continue (this may take a while). A list of applications installed on your computer will display.
4.Scroll toward the bottom of the application list and select Website-Manager. Then click Next and the following window will display.
5.Type a name for your schedule that is meaningful to you and select how often you want this scheduling file to run. Then click Next and the following window will display.
6.Enter the time and when you want this schedule to run. Then click Next and the following window will display.
7.Enter the password you use to log into Windows. Then click Next and the following window will display.
8.Check the box Open advanced properties for this task when I click Finish and click Finish. The following window will display with the Task tab showing.
9.In the Run field we need to add our command line parameters to the existing text. Highlighted in yellow is a sample of a command line parameter added for scheduling. There are two basic items that need to be added. The -auto parameter and the scheduling file. There must be a space between each parameter. If your scheduling file is in the Start in directory, then you do not need to include path information with the file name. If your scheduling file exists outside the Start in directory, you must provide a full path to the file. Furthermore, if the path to the file name or the file name its self has one or more spaces, you will need to surround the text in double quotes. Here are some examples:

C:\PROGRA~1\WEBSIT~1\wm.exe -auto batch.xml

C:\PROGRA~1\WEBSIT~1\wm.exe -auto "my batch.xml"

C:\PROGRA~1\WEBSIT~1\wm.exe -auto d:\projects\batch.xml

C:\PROGRA~1\WEBSIT~1\wm.exe -auto "C:\Documents and Settings\kevin\My Documents\my batch.xml"

 

Click OK and you're done.

 


Page url: http://www.helpandmanual.com/help/index.html?hm_running_from_windows_schedule_.htm