From b54a1c9686eec3c1114e9b58cb67679ba59c45bd Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 14 Mar 2018 18:18:31 -0400 Subject: directories --- systemd/dashboard-daily.service | 6 ++++++ systemd/dashboard-daily.timer | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 systemd/dashboard-daily.service create mode 100644 systemd/dashboard-daily.timer (limited to 'systemd') diff --git a/systemd/dashboard-daily.service b/systemd/dashboard-daily.service new file mode 100644 index 0000000..492fad2 --- /dev/null +++ b/systemd/dashboard-daily.service @@ -0,0 +1,6 @@ +[Unit] +Description=Dashboard daily update + +[Service] +Type=oneshot +ExecStart=/bin/sh -c '~/dashboard/bin/cron-daily' diff --git a/systemd/dashboard-daily.timer b/systemd/dashboard-daily.timer new file mode 100644 index 0000000..de7df23 --- /dev/null +++ b/systemd/dashboard-daily.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Dashboard daily update + +[Timer] +OnCalendar=daily +Persistent=true + +[Install] +WantedBy=timers.target -- cgit v1.2.3-2-g168b