# Schedule a boost — CacheBoost Docs

> Use cron expressions to schedule automatic cache warming.

Source: https://www.cache-boost.com/support/guides/schedule-a-boost.md
Language: en

---



Use cron expressions to run a boost automatically on a recurring schedule.

Boosts can run on a schedule using standard cron expressions. Set the `schedule` field when creating or updating a boost.

## Cron expression format

```
┌─ minute (0–59)
│ ┌─ hour (0–23)
│ │ ┌─ day of month (1–31)
│ │ │ ┌─ month (1–12)
│ │ │ │ ┌─ day of week (0–7, 0 and 7 = Sunday)
│ │ │ │ │
* * * * *
```

## Common schedules

| Schedule | Cron |
|----------|------|
| Every hour | `0 * * * *` |
| Every day at 2 AM UTC | `0 2 * * *` |
| Every Monday at 8 AM UTC | `0 8 * * 1` |
| Every 6 hours | `0 */6 * * *` |

All schedule times are in UTC.

## Set a schedule via the API

Include `schedule` in the request body when creating or updating a boost:

```bash
curl -X POST https://api.cache-boost.com/v1/sites/42/boosts \
  -H "Authorization: Bearer cb_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Nightly warm", "source": "sitemap", "concurrency": 3, "schedule": "0 3 * * *"}'
```

To remove a schedule, set `"schedule": null` via `PATCH`.

## On-demand runs

A scheduled boost can also be triggered manually at any time via `POST /v1/sites/{siteId}/boosts/{boostId}/run`. Manual runs do not affect the next scheduled run.



---

**CacheBoost** — Automatic cache warming for faster websites.

- Website: https://www.cache-boost.com
- Full content (all pages): https://www.cache-boost.com/llms-full.txt
- LLM index: https://www.cache-boost.com/llms.txt
- Documentation: https://www.cache-boost.com/support/getting-started/introduction
- Start free: https://www.cache-boost.com/try
