Run cron jobs
in your app’s image
Nightly emails, cleanups and syncs, on a schedule in your timezone. Each run gets a fresh container, a timeout and a log.
How it works
How to add a cron job
On the app’s Crons tab in the dashboard.
01
Write the schedule
Standard five-field cron, with a preview of the next five runs.
0 7 * * * Europe/Berlin02
Add the command
Anything you’d run in your app’s shell, or a curl call.
node scripts/send-digest.js03
Slasha runs it
A new container on schedule, with live output. Or press Run now.
Succeeded · 12.4s · ScheduledSchedules
See what your schedule means
Type a schedule and see when it runs next, before you save. Lists, ranges and steps all work.
- Next five runs in the job’s timezone
- Disable a job without deleting it
Times shown in UTC. Each job picks its own timezone.
Runtimes
Use your app’s image, or curl
The app runtime uses your app’s image, env vars and /data volume. The utility runtime is a small image with curl for calling a URL.
- Same env vars, including
DATABASE_URL - Separate from your live app
- Utility runs get your env vars too
app
npm run cleanup
- Your app’s image
- Your env vars
- /data mounted
utility
curl -X POST "$HOOK"
- Small curl image
- Your env vars
- For HTTP calls
Run history
See every run and its log
Each job keeps its last 50 runs with status, duration and the full log. Press Run now to test without waiting.
- Scheduled and manual runs in one list
- Logs stream live and are kept
Schedule
0 7 * * *
Every day at 07:00
Timezone
Europe/Berlin
Next run
Tomorrow, 07:00
Runtime
App image
Command
node scripts/send-digest.js
Run history
Limits
Skip overlapping runs and stop long ones
If the last run is still going, the next one is skipped. Runs that hit the timeout (one hour by default) are stopped.
- No overlapping runs
- Timeout per job
- Cron Failed alerts for failures and timeouts
More details
Any IANA timezone
UTC by default. Daylight saving follows the job’s timezone.
Next runs preview
See the next five run times before you save.
Run now
Start a run by hand without changing the schedule.
New container each time
Each run gets its own container, which is removed afterwards.
Timeouts
One hour by default, set per job in seconds.
No overlaps
If the previous run is still going, the next one is Skipped.
50 runs of history
Status, duration, trigger and logs for each.
Pause any job
Disable a job and keep its settings.
Questions about cron jobs
Have another question? Ask on GitHub.
Can I manage cron jobs from the CLI?
Does the job run inside my live web container?
/data volume, so it works like your app but doesn’t slow down live requests. This means the app needs a running deployment for app-runtime jobs.What happens if a run takes longer than the interval?
How do timezones and daylight saving work?
Can I call a URL on a schedule?
curl and your app’s environment variables. Then run something like curl -fsS -X POST https://storefront.ship.acme.dev/tasks/digest.Will I find out when a job fails?
Other features
All featuresRun your scheduled jobs on Slasha
Free and open source. Your first app can be live in ten minutes.