diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-10 23:54:17 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-10 23:54:17 -0400 |
commit | eddc4bba51a58f0201c77353ad53c4772c8943a7 (patch) | |
tree | 22a7b52251a89c0fdbacd42bd3e99ba9558d8642 | |
parent | bacdb32d4aa6308e0bdc24c8d0abd779133133b7 (diff) |
cron
-rwxr-xr-x | cron-daily | 4 | ||||
-rw-r--r-- | dashboard-daily.service | 6 | ||||
-rw-r--r-- | dashboard-daily.timer | 9 |
3 files changed, 19 insertions, 0 deletions
diff --git a/cron-daily b/cron-daily new file mode 100755 index 0000000..ecc5266 --- /dev/null +++ b/cron-daily @@ -0,0 +1,4 @@ +#!/bin/sh +cd "$(dirname -- "$0")" +date > NET-crt.sh +make diff --git a/dashboard-daily.service b/dashboard-daily.service new file mode 100644 index 0000000..bafdbdd --- /dev/null +++ b/dashboard-daily.service @@ -0,0 +1,6 @@ +[Unit] +Description=Dashboard daily update + +[Service] +Type=oneshot +ExecStart=/bin/sh -c '~/dashboard/cron-daily' diff --git a/dashboard-daily.timer b/dashboard-daily.timer new file mode 100644 index 0000000..de7df23 --- /dev/null +++ b/dashboard-daily.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Dashboard daily update + +[Timer] +OnCalendar=daily +Persistent=true + +[Install] +WantedBy=timers.target |