summaryrefslogtreecommitdiff
path: root/global/overlay/etc/cron.d
diff options
context:
space:
mode:
Diffstat (limited to 'global/overlay/etc/cron.d')
-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)