Este contenido no está disponible en el idioma seleccionado.
Chapter 24. cron
This chapter describes the commands under the cron command.
24.1. cron trigger create Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Create new trigger.
| Value | Summary |
|---|---|
| name | Cron trigger name |
| workflow_identifier | Workflow name or id |
| workflow_input | Workflow input |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --params PARAMS | Workflow params |
| --pattern <* * * * *> | Cron trigger pattern |
| --first-time <YYYY-MM-DD HH:MM> | Date and time of the first execution. Time is treated as local time unless --utc is also specified |
| --count <integer> | Number of wanted executions |
| --utc | All times specified should be treated as utc |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | the output format, defaults to table |
| -c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-mistralclient plugin.
24.2. cron trigger delete Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack cron trigger delete [-h] cron_trigger [cron_trigger ...]
openstack cron trigger delete [-h] cron_trigger [cron_trigger ...]
Delete trigger.
| Value | Summary |
|---|---|
| cron_trigger | Name of cron trigger(s). |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-mistralclient plugin.
24.3. cron trigger list Copiar enlaceEnlace copiado en el portapapeles!
Usage:
List all cron triggers.
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | the output format, defaults to table |
| -c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
| --sort-column SORT_COLUMN | specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-mistralclient plugin.
24.4. cron trigger show Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Show specific cron trigger.
| Value | Summary |
|---|---|
| cron_trigger | Cron trigger name |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | the output format, defaults to table |
| -c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-mistralclient plugin.