Skip to Content
Aperture

Scheduling

Run a job once at a specific time, or repeatedly with a cron expression.

One-off runs at a time

Pass --schedule with an ISO 8601 timestamp that includes a UTC offset:

aperture-cli run nightly-report REPORT_DATE=2026-11-22 --schedule 2026-11-24T06:00:00Z
aperture-cli run nightly-report --schedule 2026-11-24T08:00:00+02:00

Or call POST /api/v1/jobs/schedule (see Jobs API), or use Schedule Execution on the job's page in the dashboard. The execution is created with status scheduled and runs at that time. A time in the past runs immediately. You can cancel it until it starts.

Cron schedules

Add a schedule to the manifest and deploy:

{ "schedule": "0 6 * * 1-5" }
  • Standard 5-field cron: minute, hour, day of month, month, day of week. Lists (,), ranges (-), steps (/) and names (MON, JAN) work.
  • Shortcuts: @hourly, @daily, @midnight, @weekly, @monthly, @yearly, @annually. Don't use @reboot.
  • Schedules are evaluated in UTC.
  • Cron runs receive no params. Give every param your code reads a default.

How cron runs behave

  • Each scheduled job always has exactly one upcoming scheduled execution, visible in the dashboard.
  • If a cron run can't start within 5 minutes of its time (for example the server was down), it's marked missed and not run late. Slots missed during downtime are skipped, not backfilled.
  • Removing schedule and redeploying cancels the upcoming run.

Scheduled webhooks

Outbound webhooks can also fire on a cron schedule with the cron.tick event, without running any job. See Webhooks.

On this page