October 2019
Intermediate to advanced
520 pages
13h 5m
English
With cron jobs, you can schedule tasks that run at a defined time or regular intervals. The use case for cron jobs includes administration tasks that need to reoccur; for example, you need to send out an email every day that includes a report about the environment.
For each language, the cron jobs are configured a little bit differently. See the Further reading section to see detailed configuration for various languages. The cron jobs are defined in YAML format and placed in the cron.yaml file.
The following is a YAML file that will run the task every 24 hours:
cron: - description: "daily summary job" url: /tasks/summary target: beta schedule: every ...
Read now
Unlock full access