acsf:crons:create
Create a new cron 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 acsf:crons:create <name> <cron_command> <interval> <sites_affected> <enabled> <thread_percentage> <stacks>...
Arguments
name
Required
The cron job name.
cron_command
Required
The command that should be executed.
interval
Required
A unix cron expression.
sites_affected
Required
Possible values: dev-sites - sites without custom domains, prod-sites - sites with custom domains, all
enabled
Required
If the cron should be enabled.
thread_percentage
Required
The percentage of cron threads that should be used for this cron. Value has to be an integer between 0 and 100.
stacks
Required
An array of stack ids for which the cron should be enabled.
Defaults to
[]