floo cron lists, inspects, and runs scheduled jobs. Declare jobs under [cron.<name>] in floo.app.toml. Each deploy creates, updates, or removes jobs to match the config. See Cron jobs for the schema and workflow.
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 API queues the run and responds at once.
triggered: truemeans the run was queued, not that it ran. A failed run is not returned as an error: checklast_statusandlast_run_atwithfloo cron show <name>. Read the run’s output withfloo logs query --cron <name> --env dev(or--env prod).
CRON_OBSERVATION_CONFLICT (409) when the job cannot start, for example while its previous run has no recorded status yet. Check floo cron show before retrying. CRON_SERVICE_NOT_DEPLOYED (422) means the job’s service has no deployed image yet.
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 status --wait: watch a deploy reconcile cron jobs in real time