The Archive · CLI · Guides

Schedule a task

Have a task of the board run by itself at an interval or at a daily time, try it first, and keep it running in the background on Windows.

Checked on CLI 0.3.3

A newer version is out (CLI 0.5.2): some details may differ.

An automation runs a task of the board by itself — every few minutes with a daily limit, or every day at a time. The task comes first: see talos tasks.

Terminal window
talos automation add <task-id> --interval 60 --limit 8 --name "nightly checks"
talos automation schedule <id> --at 07:30 --timezone Europe/Rome --missed latest

--missed decides what happens to a run that was due while nothing was running: skip it, or run the latest one.

Terminal window
talos automation dry-run <id> # what it would do next, without running it
talos automation run <id> # runs it now, and prints the id of the session it started
talos automation history <id> # its runs, with their outcome

An automation runs while talos automation serve is running — it checks every 30 seconds until you press Ctrl+C — or, on Windows, through the runner, which works in the background:

Terminal window
talos automation install-runner --yes
talos automation health # whether the runner is installed and working

enable, disable and delete manage an automation; talos automation list shows them all with their schedule and state. Every option is on talos automation.

Type to search the guides.