Login

Debugging the scheduler

Versions: 4.11, FAQ number: 134, Old FAQ number: 2863

The scheduler's debug mode can be an invaluable tool when you are trying to solve a problem with the scheduler. In debug mode the scheduler will print information about it's activities to the console and to a logfile (optional). To start the scheduler in debug mode:

  • Open a command prompt
  • Stop the scheduler service, either using the management console or by using the 'net' command at the command prompt:
    net stop "EPiServer Scheduler Service".
  • Start the debug mode by calling the EPiServer.SchedulerSvc exe with the DEBUG parameter and a path where the logfile will be created (optional):
    "c:\Program Files\EPiServer.Scheduler\EPiServer.SchedulerSvc.exe" DEBUG c:\scheduler.log.
  • When you want to stop debugging simply press ctrl-c at the command prompt. Now the service is stopped, don't forget to start it again, either using the management console or using the 'net' command:
    net start "EPiServer Scheduler Service".
EPiTrace logger