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

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

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