Cron jobs
Run commands on a schedule, trigger them on demand, and review run history.
Cron jobs run a command on a schedule, isolated like your apps. Use them for backups, digests, cleanups, or any recurring task.
Create a job#
- 1
New cron job
On the Cron jobs page, click “New cron job” and name it.
- 2
Set a schedule
Pick a preset, such as "Hourly" or "Daily", or type a cron expression like 0 * * * *. A plain-language description shows when it runs. Schedules run in UTC.
- 3
Set the command
Enter the command to run, for example npm run task. Optionally run it against a service’s image and environment, or the base image.
0 * * * *Run now & history#
- Click "Run now" to trigger a job immediately.
- Pause a job with its toggle, without deleting it.
- Run history lists recent runs with their status, duration, exit code, and logs.
Schedule options & limits#
- Minimum interval
- Your plan sets the smallest allowed gap between runs.
- Timezone
- UTC by default, and the dashboard creates every job in UTC. Set timezone through the API to evaluate the schedule in another zone.
- Timeout
- A run that exceeds its timeout is stopped. The default is 300 seconds and the maximum is 3,600. Set timeoutSeconds through the API.
- Target
- Run against a service’s image and environment, or the base image.
✦ Your command runs on schedule, on demand when you need it, with a full history of past runs.