Running the scheduler in Windows

To run the scheduler program:

  1. Edit xscheduler.bat file in the directory, dnet by use of any text editor.

e.g. c:\Inetpub\scripts\dnet\xscheduler.exe c:\Inetpub\scripts\dnet 10

If a directory name contains space you can specify the path in the following way.

"c:\Program\Apache Group\Apache2\cgi-bin\dnet\xscheduler.exe" "c:\Program\Apache Group\Apache2\cgi-bin\dnet" 10

Note:

Note: The scheduler program should be always running when the server is running. When you shut down the server and start up again, you have to run the program too. you can use "at" command. The Schedule service must be running to use the at command.

 

  1. To run xscheduler.bat using at command.

at time /every:date[,...] cmd /c command

Parameters:

time

Specifies the time when xscheduler.bat is to run. Time is expressed as hours:minutes in 24-hour notation (00:00 [midnight] through 23:59).

/every:date[,...]

Runs xscheduler.bat on every specified day or days of the week or month. Specify date as one or more days of the week (M,T,W,Th,F,S,Su) or one or more days of the month (using numbers 1 through 31). Separate multiple date entries with commas.

command

Specifies a path for xscheduler.bat

 

If you want to run xscheduler.bat at 9 o'clock everyday, type;

at 9:00 /every:M,T,W,Th,F,S,Su cmd /c C:\Inetpub\scripts\dnet\xscheduler.bat

 

  1. Confirm that no error messages appear on the screen.

In Reminder, see Viewing reminders