api:environments:cron-update
Modify an existing scheduled job.
For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.
Usage
acli api:environments:cron-update [--cron_command CRON_COMMAND] [--frequency FREQUENCY] [--label LABEL] [--task-wait] [--] <environmentId> <cronId>
acli api:environments:cron-update 12-d314739e-296f-11e9-b210-d663bd873d93 e10a665c-c9ec-4422-a82b-b32c82329f9d --frequency="*/5 * * * *"
acli api:environments:cron-update myapp.dev e10a665c-c9ec-4422-a82b-b32c82329f9d --frequency="*/5 * * * *"
Arguments
environmentId
Required
The environment identifier. The identifier is a compound key consisting of the internal database ID of the environment and the application UUID. You may also use an environment alias or UUID.
cronId
Required
An ID that uniquely identifies a cron job.
Options
--cron_command
Required
The command to run.
--frequency
Required
The cron string that describes the frequency the cron will be run at.
--label
Required
The label for this cron.
--task-wait