Schedule for a list of tasks
Property | Description | Required |
---|---|---|
schedule |
Cron-style job schedule | Yes |
timezone |
Timezone for schedule | No |
enabled |
When false job will not execute | No |
run_on_init |
Run job on start | No |
on_error |
List of notifier names to send task errors to | No |
tasks |
List of task names for this job | Yes |
Cron-style job schedule. The main difference from the vanilla cron syntax is that the finest granularity is seconds instead of minutes. For more information checkout the node-cron documentation
schedule: '*/10 * * * * *' # Run every 10 seconds
IANA Timezone to adjust the schedule time to. Default is to use the host time
timezone: America/Toronto
When false job will not execute. Default value is true
enabled: false
Run job on daemon startup. Default value is false
run_on_init: true
List of notifier names to send task errors to
tasks:
- notifier1
- notifier2
- notifier3
List of task names for this job. All tasks will be executed sequentially
tasks:
- task1
- task2
- task3