Versions Compared

Key

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

...

Stop-JobSchedulerJob

SYNOPSIS

Suspends Stops a number of orders jobs in the JobScheduler Master.

...

This cmdlet is an alias for Update-Order Job -Action "suspendstop"

PARAMETERS

Job

-Job <String>
Specifies the full path and name of a job.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters?

Directory

-Directory <String>
Optionally specifies the directory of a job should the -Job parameter
not be provided with the full path and name of the job.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters?

...

-------------------------- EXAMPLE 1 --------------------------

C:\PS>SuspendPS>Stop-Order -Order Reporting -JobChain Job -Job /sos/reportingdailyschedule/ReportingCheckDaysSchedule

Stops an individual jobSuspends the order "Reporting" from the specified job chain.

-------------------------- EXAMPLE 2 --------------------------

C:\PS>Get-Order | Suspend-Order

Suspends all orders for all job chains.

-------------------------- EXAMPLE 3 --------------------------

C:\PS>Get-Order -Directory / -NoSubfolders | Suspend-Order

Suspends orders that are configured with the root folder ("live" directory)
without consideration of subfolders.

-------------------------- EXAMPLE 4 --------------------------

C:\PS>Get-Order -JobChain /test/globals/chain1 | Suspend-Order

Job -Directory /some_dir -NoSubfolders | Stop-Job

Stops all jobs from the specified directory
without consideration of subfoldersSuspends all orders for the specified job chain.