schedule is an interactive menu for adding, editing, and removing cron schedules. Schedules are stored in dbdock.config.json.
The CLI manages config — it doesn’t run schedules. To actually execute scheduled backups, you need to either run DBdock as a long-lived process (see scheduling guide) or use an external scheduler like system cron.
Interactive menu
Presets
When adding a schedule, DBdock offers common presets:| Preset | Cron | Description |
|---|---|---|
| Hourly | 0 * * * * | Every hour on the hour |
| Daily (midnight) | 0 0 * * * | 00:00 every day |
| Daily (2 AM) | 0 2 * * * | 02:00 every day |
| Weekly (Sunday) | 0 0 * * 0 | 00:00 every Sunday |
| Monthly | 0 0 1 * * | 00:00 on the 1st of each month |
| Custom | your cron | Any valid 5-field cron expression |
Schedule structure
Schedules end up indbdock.config.json:
Running the schedules
Option 1 — long-lived DBdock process
Use the programmatic API withnode-cron. See SDK → scheduling.
Option 2 — external cron
Let system cron triggerdbdock backup on the schedule you want:
dbdock schedule entirely and is the simplest option on a single server.
Option 3 — cloud scheduler
On Kubernetes (CronJob), AWS (EventBridge → Lambda/ECS), or GCP (Cloud Scheduler), triggerdbdock backup on the schedule.
See also
Scheduling guide
Detailed guide on running scheduled backups.
dbdock status
View configured schedules.

