...
Name
Start-JobSchedulerJob
SYNOPSIS
Suspends Starts a number of orders jobs in the JobScheduler Master.
SYNTAX
Start-JobSchedulerJob [-Job] <String> [[-Directory] <String>] [[-Parameters] <Hashtable>] [[-At] <String>] [<CommonParameters>]
DESCRIPTION
This cmdlet is an alias for Update-Order JobSchedulerJob -Action "suspendstart"
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? | false |
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? | false |
Parameters
-Parameters <Hashtable>
Specifies the parameters for the job. Parameters are created from a hashmap,
i.e. a list of names and values.
Required? | false |
Position? | 3 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
At
-At <String>
Specifies the point in time when the job should start:
* now
** specifies that the job should start immediately
* now+1800
** specifies that the job should start with a delay of 1800 seconds, i.e. 30 minutes later.
* yyyy-mm-dd HH:MM[:SS]
** specifies that the job should start at the specified point in time.
Default: now
Required? | false |
Position? | 4 |
Default value | now |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
RELATED LINKS
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
C:\PS>Suspend-Order -Order Reporting -JobChain PS > Start-JobSchedulerJob -Job /sos/
reportingdailyschedule/
ReportingCheckDaysSchedule
Starts 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
PS > Get-JobSchedulerJob -Directory /some_dir -NoSubfolders | Start-JobSchedulerJob
Starts all jobs from the specified directory without consideration of subfoldersSuspends all orders for the specified job chain.