diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/systemd/user/do-backup.service | 6 | ||||
| -rw-r--r-- | .config/systemd/user/do-backup.timer | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/.config/systemd/user/do-backup.service b/.config/systemd/user/do-backup.service new file mode 100644 index 0000000..6559f30 --- /dev/null +++ b/.config/systemd/user/do-backup.service @@ -0,0 +1,6 @@ +[Unit] +Description=Create a backup for the month + +[Service] +Type=oneshot +ExecStart=/bin/bash /home/mssola/bin/do-backup.sh
\ No newline at end of file diff --git a/.config/systemd/user/do-backup.timer b/.config/systemd/user/do-backup.timer new file mode 100644 index 0000000..2bd63e3 --- /dev/null +++ b/.config/systemd/user/do-backup.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Timer for my monthly backup + +[Timer] +OnCalendar=*-*-01 13:00:00 +Persistent=true + +[Install] +WantedBy=timers.target
\ No newline at end of file |
