Skip to content

A daemon is a worker you run on your own infrastructure that Truto hands work to. Truto keeps a record of each daemon and of the jobs it runs, so you can see and manage them through the API and the CLI.

Truto does not publish a daemon client. If you want sync job runs or daemon jobs to run on your own workers, contact Truto support first. In most cases, send sync job output to a webhook or a datastore instead, with destination nodes.

The records

Record What it is
Daemon One worker in an environment, with a label, a status (starting, active, stopping or stopped) and an optional group_key.
Daemon job A job definition, with args_schema and args_validation for the arguments a run takes.
Daemon job run One run of a daemon job on a daemon, with its args and a status (created, running, completed, failed or stopped).
Daemon job cron trigger A schedule that starts daemon job runs.

A sync job run on runtime versions 1 to 3 can name a daemon_group_key as its destination, instead of a webhook_id, datastore_id or super_query. A V4 run sends its output through destination nodes and doesn't use daemons.

API and CLI

See the API reference for daemons, daemon jobs, daemon job runs and daemon job cron triggers. In the CLI, the commands are truto daemons, truto daemon-jobs, truto daemon-job-runs and truto daemon-job-triggers. See the command reference.