diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2025-09-17 22:11:37 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2025-09-17 22:11:37 +0200 |
| commit | a8a6111e22a69a315bfb1fb112d24a03bb8c1fa3 (patch) | |
| tree | 8f3e94b4630cdc740fee439b58779630aec73287 /.config | |
| parent | 2430f51e5b5db7cc7feeb8728ac8e9e7bd99e224 (diff) | |
| download | dotfiles-a8a6111e22a69a315bfb1fb112d24a03bb8c1fa3.tar.gz dotfiles-a8a6111e22a69a315bfb1fb112d24a03bb8c1fa3.zip | |
bin: Add 'do-backup.sh'
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
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 |
