Skip to main content
Version: 3.1.0

jobs update Command

The jobs update command updates a job.

Usage

jobs update <id> [--schedule <cron_expression>] [--wait-for-event <event_name>] <command>

Options

OptionDescription
--schedule <cron_expression>The schedule as a cron expression
--wait-for-event <event_name>Waits for the specified event to occur (if this option is defined in conjunction with the --schedule option, the schedule must trigger first)
--timeoutNumber of seconds for which the job is allowed to run before being automatically terminated (default 3600)

Parameters

ParameterDescriptionRequired?Default Value
idJob identifier✔️N/A
commandCLI command that will be executed when the job is triggered *✔️N/A

* It is recommended to either surround the command with single quotes (') or escape special characters such as pipes (|) or semicolons (;). Multiple commands can be delimited using semicolons.