autorestic/docs/pages/cli/cron.md

12 lines
448 B
Markdown
Raw Permalink Normal View History

2020-05-17 12:52:30 +00:00
# Cron
```bash
2021-04-28 08:54:07 +00:00
autorestic cron [--lean]
2020-05-17 12:52:30 +00:00
```
2020-11-13 14:48:20 +00:00
This command is mostly intended to be triggered by an automated system like systemd or crontab.
2020-05-17 12:52:30 +00:00
2021-04-23 15:45:02 +00:00
It will run cron jobs as [specified in the cron section](/location/cron) of a specific location.
2020-05-17 12:52:30 +00:00
2021-04-28 08:54:07 +00:00
The `--lean` flag will omit output like _skipping location x: not due yet_. This can be useful if you are dumping the output of the cron job to a log file and don't want to be overwhelmed by the output log.