floo cron lists, shows, and manually triggers scheduled cron jobs. Cron jobs are declared in floo.app.toml under [cron.<name>] sections, not created with the CLI. Every deploy reconciles the declared set: new sections become jobs, removed sections are deleted, changed sections are updated.
To add a cron job, edit
floo.app.toml. See Cron Jobs for the schema and end-to-end flow, or Config Spec → [cron.<name>] for the field reference.list
Every cron job declared on an app, with its enabled state, last status, and last run time.Flags
JSON output
last_run_at and last_status are null until the first run completes. last_status is success, failed, or interrupted. The API writes it only after the run reaches a terminal state, so there is no “running” value.
show
One cron job by name.Arguments
Flags
JSON output
Errors
run
Trigger a cron job now, for testing or a one-off catch-up run.Arguments
Flags
What it does
- Resolves the app from
--appor the nearestfloo.app.toml. - Calls the platform’s “trigger cron job” endpoint once, which dispatches a one-off job execution against the service’s container image.
- Prints the API’s response. The CLI makes one request and does not poll; the API holds that request open while the job runs, writes
last_run_atandlast_statuswhen it reaches a terminal state, and then responds. A failed run returns an error.triggered: falsemeans no new execution started, because the job was already running or that occurrence was superseded;messagesays which. Read the run’s output withfloo logs query --cron <name>.
JSON output
What the CLI does NOT do
- Add jobs. Edit
floo.app.toml. The next deploy creates the job. - Remove jobs. Delete the
[cron.<name>]section fromfloo.app.toml. The next deploy deletes the job. - Edit schedules or commands. Change them in
floo.app.toml. The next deploy updates the job.
Related
- Cron Jobs guide: walkthrough with examples, schedule syntax, and the agent workflow
- Config Spec →
[cron.<name>]: full field reference floo deploys watch: watch a deploy reconcile cron jobs in real time