autorestic/docs/markdown/cli/cron.md

14 lines
464 B
Markdown
Raw Normal View History

2020-05-17 14:52:30 +02:00
# Cron
```bash
2021-04-28 10:54:07 +02:00
autorestic cron [--lean]
2020-05-17 14:52:30 +02:00
```
2020-11-13 15:48:20 +01:00
This command is mostly intended to be triggered by an automated system like systemd or crontab.
2020-05-17 14:52:30 +02:00
2021-04-23 17:45:02 +02:00
It will run cron jobs as [specified in the cron section](/location/cron) of a specific location.
2020-05-17 14:52:30 +02:00
2021-04-28 10:54:07 +02: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.
2020-05-17 14:52:30 +02:00
> :ToCPrevNext