diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-03-14 18:18:31 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-03-17 13:49:41 -0400 |
commit | b54a1c9686eec3c1114e9b58cb67679ba59c45bd (patch) | |
tree | 0bdb2f3ed51ff077a8c3e337e4bc556aacec108e /systemd | |
parent | 54feeb027d6e5a760b49769dfe695ea2591dc6fe (diff) |
directories
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/dashboard-daily.service | 6 | ||||
-rw-r--r-- | systemd/dashboard-daily.timer | 9 |
2 files changed, 15 insertions, 0 deletions
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 |