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

# SPDX-License-Identifier: GPL-2.0-only
#
# cron job for automatic software updates
# Copyright (c) 2014 Kaarle Ritvanen

set -eu

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