Create Schedule Job Run every N days


Schedules a task that runs every N days.

Warning

Note

This workflow is available only for use in Microsoft Windows environments.

 Workflow inputs – Create Schedule Job Run every N days

Call Workflow Input

Description

Required

Default Value

connection details

XML document conforming to the Connection Details common object that contains the information required to execute a command via command line.

Yes

n/a

task name

Specifies a name for the task.

 

Valid value: unique name not exceeding 238 characters.

 

Warning

Note

Quotation marks must be used to enclose names that include spaces.

Yes

n/a

task run

Specifies the program or command that the task runs.

 

Warning

Note

The fully qualified path and file name of an executable file, script file, or batch file must be provided. The path name must not exceed 262 characters.

Yes

n/a

modifier

Specifies how often the task runs. within its schedule type.

 

Valid values: 1 – 365

Yes

1

runas user

Runs the task with permissions of the specified user account.

Yes

n/a

runas password

Provides the password for the user account that is specified in the /ru Domain/User parameter.

Yes

n/a

start time

Specifies the time of day that the task starts (each time it starts) in HH:MM 24–hour format.

No

Current time on local computer

interval

Specifies the repetition interval in minutes.

 

Valid range: 1 to 599940 minutes (599940 minutes = 9999 hours).

 

Warning

Note

If either /ET or /DU is specified, then the repetition interval defaults to 10 minutes.

No

n/a

duration

Specifies maximum length of time in minutes or hours.

 

Valid time 24–hour format: HHHH:MM

No

n/a

start date

Specifies the date on which the task schedule starts.

 

Valid date format: mm/dd/yyyy

No

Current date on the local computer

end date

Specifies the date on which the schedule ends. This parameter is optional.

 

Format for <end date> varies with the selected locale on local.

No

In the absence of a value for this input the job runs infinitely.

 

 Workflow outputs – Create Schedule Job Run every N days

Call Workflow Output

Description

output

XML document consisting of one or more <line> elements that contain the command response. Each <line> element contains an index attribute indicating the order in which the information was returned by the command.

success

Did the operation succeed?

 

Valid values: true, false

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Orchestration Content 20.18.01