You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The Windows JobScheduler is installed as a Windows service.

The service has the name sos_schedulerscheduler_id_ where the scheduler_id was set during the setup.

If you open the Windows services dialog (services.msc) then you find the JobScheduler service with the title SOS JobScheduler -ih1. scheduler_id.

Start/Stop the JobScheduler service

You have multiple options to start/stop the JobScheduler service. You need elevated administrator permissions to start the service.

  • using JobScheduler start script (./bin/jobscheduler.cmd)
     the JobScheduler start script calls the net.exe and asks for elevated administrator permissions if you start the JobScheduler service  
     the JobScheduler start script calls the JobScheduler command <modify_spooler cmd'terminate'/> to stop itself 
     open a _Command Prompt_
    
     > bin\jobscheduler.cmd start_service
     > bin\jobscheduler.cmd stop
    
  • using Windows services dialog
     select the service _SOS JobScheduler -id=[scheduler_id]_ and use the function start or stop in the context menu
    
  • using net.exe
     open a _Command Prompt_ with elevated administrator permissions  
    
     > net.exe start sos_scheduler_[scheduler_id]
     > net.exe stop sos_scheduler_[scheduler_id]
    
  • using sc.exe
     open a _Command Prompt_ with elevated administrator permissions  
    
     > sc.exe start sos_scheduler_[scheduler_id]
     > sc.exe stop sos_scheduler_[scheduler_id]
    
  • No labels