Skip to content

Commit 7b7016d

Browse files
authored
Create mysql-backup.timer
1 parent 133f56d commit 7b7016d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

mysql-backup.timer

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This timer unit is for daily mysql backups
2+
3+
[Unit]
4+
Description=Executes everyday at midnight
5+
Requires=mysql-backup.service
6+
7+
[Timer]
8+
Unit=mysql-backup.service
9+
OnCalendar=*-*-* 00:00:00
10+
11+
[Install]
12+
WantedBy=timers.target

0 commit comments

Comments
 (0)