Docs

Schedules

Run a function on a timer, on your own PC.

Add one

A schedule is a five-field cron expression, in your local time, and a function with its arguments:

computron schedule add "0 9 * * *" stripe.revenue --month current

That runs the function every day at 9:00.

Manage

computron schedule list
computron schedule rm <id>

When it runs

Schedules run while Computron's local server is running, which starts with Chrome. If Chrome is closed at the scheduled time, the run waits for Chrome. If the next time comes first, the run is recorded as missed.

A schedule never retries a call that pressed something irreversible. Check the site, then decide.

The log

Each run is a line in ~/.computron/schedule_runs.jsonl. Read it with:

computron schedule log
computron schedule log <id> --json

Every run is a Computron run and uses credits the same way as any run. Schedules and their log stay on your PC.