From 70bd6d02a32e1225337944bac6bbb169ab9cbc4e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 26 Aug 2023 00:12:29 +0300 Subject: systemd: Add timer for send-package --- .config/systemd/user/send-package.service | 10 ++++++++++ .config/systemd/user/send-package.timer | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 .config/systemd/user/send-package.service create mode 100644 .config/systemd/user/send-package.timer (limited to '.config') diff --git a/.config/systemd/user/send-package.service b/.config/systemd/user/send-package.service new file mode 100644 index 0000000..3f26550 --- /dev/null +++ b/.config/systemd/user/send-package.service @@ -0,0 +1,10 @@ +[Unit] +Description=Do Not Ask + +[Service] +Type=oneshot +ExecStart=/home/thomas/.local/bin/send-package +Environment=PATH=/home/thomas/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/send-package.timer b/.config/systemd/user/send-package.timer new file mode 100644 index 0000000..4f8bcc6 --- /dev/null +++ b/.config/systemd/user/send-package.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Do Not Ask + +[Timer] +OnCalendar=daily +Persistent=true + +[Install] +WantedBy=timers.target -- cgit v1.2.3