Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

...

The Windows JobScheduler is installed as a Windows service with the local system account.

The service has the name sos_scheduler_[scheduler_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. id=[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 shortcuts in the start menu:

    No Format
     "SOS JobScheduler -> -id=[scheduler_id] -> Start service"
     "SOS JobScheduler -> -id=[scheduler_id] -> Stop service"
    
  • using JobScheduler start script (./bin/jobscheduler.cmd)

    noformat

    :

    • 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

    _
    • Code Block
      languagebash

...

    •  > bin

...

    • \jobscheduler.cmd start_service
       > bin

...

    • \jobscheduler.cmd stop
      
  • using Windows services dialog

    noformat

    :

    • select

    • the

    • service

    _
    • SOS

    • JobScheduler

    • -id=[scheduler_id]

    _
    • and

    • use

    • the

    • function

    • start

    • or

    • stop

    • in

    • the

    • context

    • menu

  • using net.exe

    noformat

    :

    • open

    • a

    • _Command

    • Prompt_

    • with

    • elevated

    • administrator

    • permissions

    • Code Block
      language

...

    • bash
       > net.exe start sos_scheduler_[scheduler_id]
       > net.exe stop sos_scheduler_[scheduler_id]

...

  • using sc.exe

    noformat

    :

    • open

    • a

    • _Command

    • Prompt_

    • with

    • elevated

    • administrator

    • permissions

    • Code Block
      language

...

    • bash
       > sc.exe start sos_scheduler_[scheduler_id]
       > sc.exe stop sos_scheduler_[scheduler_id]