Readme, .timer OnCalendar
This commit is contained in:
@@ -77,13 +77,14 @@ Todo
|
||||
|
||||
### etc/systemd/system/make-backup.service
|
||||
Systemd service to make backup.
|
||||
```WorkingDirectory=``` should be the absolute path to where make_backup.sh script is located.
|
||||
```ExecStart=``` *MUST* be the absolute path to make_backup.sh
|
||||
```WorkingDirectory=``` should be the absolute path to where ```make_backup.sh``` script is located.
|
||||
```ExecStart=``` *MUST* be the absolute path to ```make_backup.sh```
|
||||
|
||||
### etc/systemd/system/make-backup.timer
|
||||
Systemd timer to trigger backup.
|
||||
When backups are made is defined in the line:
|
||||
```OnCalendar=Mon-Sun *-*-* 04:00:00```
|
||||
This currently does a backup at 04:00 every day (Monday to Sunday), it could also be expressed by ```OnCalendar=daily``` but this would always trigger at ```00:00:00```
|
||||
See ```man systemd.time``` for more how to configure OnCalendar events.
|
||||
|
||||
### Systemd service+timer install
|
||||
|
||||
Reference in New Issue
Block a user