aboutsummaryrefslogtreecommitdiffstats
path: root/main/apk-cron/apk
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-03-03 23:25:34 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-03-03 23:25:34 +0200
commitc06d34acaa80b9c827fd701b567c2bea70c668e0 (patch)
tree730c10768e12e138c22167610597337a2ddd4f1c /main/apk-cron/apk
parent772ed716e44fc27ab0beddddb1307affc1a23ebf (diff)
downloadaports-c06d34acaa80b9c827fd701b567c2bea70c668e0.tar.bz2
aports-c06d34acaa80b9c827fd701b567c2bea70c668e0.tar.xz
main/apk-cron: moved from testing
Diffstat (limited to 'main/apk-cron/apk')
-rw-r--r--main/apk-cron/apk7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/apk-cron/apk b/main/apk-cron/apk
new file mode 100644
index 0000000000..28a2cfa5e3
--- /dev/null
+++ b/main/apk-cron/apk
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# cron job for automatic software updates
+# Copyright (c) 2014 Kaarle Ritvanen
+
+sleep $(expr $RANDOM % 7200)
+exec apk -U upgrade