added systemd service files and cronjob example

This commit is contained in:
2022-06-20 18:05:34 +02:00
parent 1ad6d2bab1
commit a6f933c5d5
3 changed files with 26 additions and 0 deletions

11
CheckAutoBackup.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Check AutoBackup
After=syslog.target network.target
[Service]
RestartSec=2s
Type=oneshot
User=root
Group=root
ExecStart=/root/check_AutoBackup.sh
[Install]
WantedBy=multi-user.target