Skip to main content

Module tools_cron

Module tools_cron 

Source
Expand description

The cronjob_manage tool: the agent scheduling work for later.

The tool manages the same cron/jobs.toml the CLI writes, through the same crate::cron functions, so a job the agent creates is a job you can read, edit and delete by hand — and one you did not want is one line to remove.

It deliberately cannot run a job. Running one starts another agent, inside this one, on a timer’s authority instead of yours; that belongs to the tick the systemd timer invokes, where there is a lock and a log file. run_now here means “when the next tick comes”, and says so.

Structs§

CronTool