summaryrefslogtreecommitdiff
path: root/global/overlay/etc/cron.d/cosmos
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2013-09-02 16:01:50 +0200
committerLeif Johansson <leifj@sunet.se>2013-09-02 16:01:50 +0200
commit7515782eb503152dfc3e84fee1260fb10d560df9 (patch)
treece0087dc774a156c6a74f11d3af92ef5686b4972 /global/overlay/etc/cron.d/cosmos
import
Diffstat (limited to 'global/overlay/etc/cron.d/cosmos')
-rw-r--r--global/overlay/etc/cron.d/cosmos4
1 files changed, 4 insertions, 0 deletions
diff --git a/global/overlay/etc/cron.d/cosmos b/global/overlay/etc/cron.d/cosmos
new file mode 100644
index 0000000..b157bde
--- /dev/null
+++ b/global/overlay/etc/cron.d/cosmos
@@ -0,0 +1,4 @@
+SHELL=/bin/sh
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+
+*/15 * * * * root test -f /etc/no-automatic-cosmos || (cosmos update && cosmos apply)