Scheduled Jobs
Scheduled Jobs is a Phase 3 feature, coming soon.
Run GPU workloads on a recurring schedule using cron expressions.
Create a Scheduled Job
curl -X POST https://api.pulserun.dev/v1/schedules \
-H "Authorization: Bearer pr_live_xxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"name": "Nightly fine-tuning",
"gpu": "a100_80gb",
"template": "pytorch",
"cron": "0 2 * * *",
"max_duration_hours": 4,
"max_cost": 5.00,
"prefer_spot": true,
"startup_script": "cd /workspace && python train.py"
}'Cron Expressions
| Expression | Schedule |
|---|---|
0 2 * * * | Every day at 2:00 AM |
0 2 * * 0 | Every Sunday at 2:00 AM |
0 */6 * * * | Every 6 hours |
0 0 1 * * | First day of every month |
Safety Limits
- max_duration_hours — Auto-stop after this many hours
- max_cost — Auto-stop if cost exceeds this amount
Both limits protect against runaway jobs.
See Schedules API for full documentation.