NAME
Update-JobSchedulerOrder
SYNOPSIS
Updates a number of orders in the JobScheduler Master.
SYNTAX
Update-JobSchedulerOrder -Order <String> -JobChain <String> -Action <String> [-At <String>] [<CommonParameters>
]
DESCRIPTION
Updating orders includes operations to suspend, resume and reset orders.
Orders are selected for update
- by a pipelined object, e.g. the output of the Get-Order cmdlet
- by specifying an individual order with the -Order and -JobChain parameters.
PARAMETERS
Order
-Order <String>
Specifies the identifier of an order.
Both parameters -Order and -JobChain have to be specified if no pipelined order objects are used.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?
JobChain
-JobChain <String>
Specifies the path and name of a job chain for which orders should be updated.
Both parameters -Order and -JobChain have to be specified if no pipelined order objects are used.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?
Action
-Action <String>
Specifies the action to be applied to an order:
- Action "start"
- starts an order, i.e. the order will proceed the next step in a job chain.
- Action "suspend"
- Suspends an order, i.e. the order is stopped and will not continue without being resumed.
- Action "resume"
- Resumes a suspended order.
- Action "reset"
- Resets an order that will be moved to its initial state in a job chain.
- Action "end_setback"
- Ends any delays that are applied to an order for repeated execution by a setback operation.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters?
At
-At <String>
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters?
RELATED LINKS
about_jobscheduler
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
C:\PS>Update-Order -Order Reporting -JobChain /sos/reporting/Reporting -Action suspend
Suspends the order "Reporting" from the specified job chain.
-------------------------- EXAMPLE 2 --------------------------
C:\PS>Get-Order | Update-Order -Action reset
Resets all orders and moves them to their initial state.
-------------------------- EXAMPLE 3 --------------------------
C:\PS>Get-Order -Directory / -NoSubfolders | Update-Order -Action resume
Updates all orders that are configured with the root folder ("live" directory)
without consideration of subfolders to be resumed.
-------------------------- EXAMPLE 4 --------------------------
C:\PS>Get-Order -JobChain /test/globals/chain1 | Update-Order -Action end_setback
Ends any delays for repeated execution for all orders for job chain "chain1" from the folder "/test/globals".