> ## Documentation Index
> Fetch the complete documentation index at: https://home-app.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Schedules

> Cron jobs for redeploys, restarts, pulls, backups, commands and cleanup.

A schedule is a cron expression + timezone attached to a project or a stack.
The in-process scheduler ticks every minute and persists `next_run_at`, so
jobs survive restarts and never double-fire.

## Kinds

| Kind | What it does |
| - | - |
| `redeploy` | `pull` + `up` — pick up new images or compose edits |
| `restart` | Restart the stack's containers |
| `pull` | Pull images only (no recreate) |
| `backup` | Run a volume backup — see [backups](https://home-app.mintlify.site/features/backups.md) |
| `command` | Run a shell command inside a service container |
| `cleanup` | Prune dangling images / build cache on a cadence |

Every run lands in `schedule_runs` with output, duration and status — the
Schedules tab shows next/last run, status and a **Run now** button for
testing.

## Creating one

**1. Open the Schedules tab**

On a project (or the Schedules card of a stack), click **New schedule**.

**2. Pick kind, target and cron**

The cron field takes a normal five-field expression (`0 4 * * *` = 4 AM
daily) with a visual preview of the next few fire times, plus a timezone
select.

**3. Save and verify**

The row shows its computed next run. Hit **Run now** to see a real
execution immediately.

> [!NOTE]
>
> `HOME_SCHEDULER=off` disables the tick entirely — useful in dev or when
> running a second Home on the same host.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.