aboutsummaryrefslogtreecommitdiffstats
path: root/main/apk-cron/apk
blob: 83cf881b29f7557f5275c3f16b56d9b37916f91d (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# cron job for automatic software updates
# Copyright (c) 2014 Kaarle Ritvanen

set -eu

sleep $(expr $RANDOM % 7200)
exec apk -U upgrade