Skip to main content
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

  1. Resolves the app from --app or the nearest floo.app.toml.
  2. Calls the platform’s “trigger cron job” endpoint once, which dispatches a one-off job execution against the service’s container image.
  3. 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_at and last_status when it reaches a terminal state, and then responds. A failed run returns an error. triggered: false means no new execution started, because the job was already running or that occurrence was superseded; message says which. Read the run’s output with floo 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 from floo.app.toml. The next deploy deletes the job.
  • Edit schedules or commands. Change them in floo.app.toml. The next deploy updates the job.
Schedules are stateless reconcilable resources. Keeping them in config makes the repo the source of truth, and every change ships through the same review and deploy flow as code.