apk 149 Bytes
Newer Older
1 2 3 4 5
#!/bin/sh

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

J0WI's avatar
J0WI committed
6 7
set -eu

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