Navigation: Applications running as a Service > ServiceScheduler > Configuration |
The ServiceScheduler service is configured with the configuration file servicescheduler.ini which has to be created in the %SYSTEMROOT% directory (usually c:\winnt or c:\windows).
Lines starting with a hash # or and exclamation mark ! will be treated as comments and not interpreted. The syntax for the actual instructions is as follows:
[Service Name],[Service Action],[Time],[Mon.Tue.Wed...Sun]
Configuration Examples
Example 1: Stop the EventSentry service weekdays at 10pm, and start the service again at 10:15pm
EventSentry,stop,22:00,Mon.Tue.Wed.Thu.Fri EventSentry,start,22:15,Mon.Tue.Wed.Thu.Fri
Example 2: Stop the MS SQL Server service daily at 3am and restart it again at 5am
MSSQLServer,stop,03:00,Mon.Tue.Wed.Thu.Fri.Sat.Sun MSSQLServer,start,05:00,Mon.Tue.Wed.Thu.Fri.Sat.Sun
|