az acr task timer
Manage timer triggers for a task.
Commands
Name | Description | Type | Status |
---|---|---|---|
az acr task timer add |
Add a timer trigger to a task. |
Core | GA |
az acr task timer list |
List all timer triggers for a task. |
Core | GA |
az acr task timer remove |
Remove a timer trigger from a task. |
Core | GA |
az acr task timer update |
Update the timer trigger for a task. |
Core | GA |
az acr task timer add
Add a timer trigger to a task.
az acr task timer add --name
--registry
--schedule
--timer-name
[--enabled {false, true}]
[--resource-group]
Examples
Add a timer trigger which schedules the task at 09:30 (UTC) every day of the week from Monday through Friday.
az acr task timer add -n taskname -r registryname --timer-name t2 --schedule "30 9 * * 1-5"
Required Parameters
The name of the task.
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>
.
The schedule of the timer trigger represented as a cron expression.
The name of the timer trigger.
Optional Parameters
Indicates whether the timer trigger is enabled.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az acr task timer list
List all timer triggers for a task.
az acr task timer list --name
--registry
[--resource-group]
Examples
List all timer triggers for a task.
az acr task timer list -n taskname -r registryname
Required Parameters
The name of the task.
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>
.
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az acr task timer remove
Remove a timer trigger from a task.
az acr task timer remove --name
--registry
--timer-name
[--resource-group]
Examples
Remove a timer trigger from a task.
az acr task timer remove -n taskname -r registryname --timer-name t2
Required Parameters
The name of the task.
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>
.
The name of the timer trigger.
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az acr task timer update
Update the timer trigger for a task.
az acr task timer update --name
--registry
--timer-name
[--enabled {false, true}]
[--resource-group]
[--schedule]
Examples
Update the schedule of a timer trigger for a task.
az acr task timer update -n taskname -r registryname --timer-name t2 --schedule "0 12 * * *"
Update the status of a timer trigger for a task.
az acr task timer update -n taskname -r registryname --timer-name t2 --enabled False
Required Parameters
The name of the task.
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>
.
The name of the timer trigger.
Optional Parameters
Indicates whether the timer trigger is enabled.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The schedule of the timer trigger represented as a cron expression.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI