...
- Start the JobScheduler Master:
Start-Master -Service
- Starts the Windows service of a JobScheduler Master
- Start the JobScheduler Master in paused mode:
Start-Master -Service -Pause
- The Windows service is started and is immediately paused to prevent any tasks from starting.
- Restart the JobScheduler Master:
Restart-Master -Timeout 120
- Restarts the Master having left any running tasks up to 120 seconds to complete.
- Stop the JobScheduler Master immediately:
Stop-Master -Action kill
- This will kill all running tasks immediately and terminate the JobScheduler Master.
- Stop the JobScheduler Master cluster:
Stop-Master -Cluster -Action abort
- Install the JobScheduler Master Windows service:
Install-Service -Start -PauseAfterFailure
- Installs and starts the Windows service. Should a previous JobScheduler run have been terminated with failure then JobScheduler Master will switch to pause mode.
- This allows e.g. to check for enqueued tasks before starting operations.
- A previously installed Windows service with the same name will be removed.
- Install the JobScheduler Master Windows service for a specific account:
Install-Service -Start -UseCredentials
- This will install the Windows service and ask for the name of the account and password that the service is operated for. The account name typically includes the domain and user, e.g.
.\some_user
forsome_user
in the current domain.
- Remove the JobScheduler Master Windows service:
Remove-Service
- This will remove the Windows service. Should any tasks be running with the JobScheduler Master then the removal will be delayed.
- Consider to use
Stop-Master -Action abort
if immediate removal of the Windows service is required.
SEE ALSO
- Full list of JobScheduler cmdlets: PowerShell Command Line Interface - Cmdlets
- Below list of aliases for JobScheduler cmdlets.
Master Managment
Get-Calendar
Get-Status
Get-Version
Restart-Master
Resume-Master
Send-Command
Set-Credentials
Set-Option
Show-Calendar
Show-Status
Start-Master
Stop-Master
Suspend-Master
Use-Master
Job and Job Chain Management
...
Add-Order
Get-JobJobChain
Get-JobChainOrder
GetRemove-Order
GetReset-TaskOrder
GetResume-VersionOrder
RemoveStart-Order
ResetSuspend-Order
ResumeUpdate-Order
Job Management
Windows Service Management
...