Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 13.59.116.142
Current Path : /etc/cron.weekly/ |
| Current File : //etc/cron.weekly/update-notifier-common.dpkg-new |
#!/bin/sh
set -e
[ -x /usr/lib/ubuntu-release-upgrader/release-upgrade-motd ] || exit 0
sleep_then_check() {
# Sleep for up to an hour to spread the load of checking for updates on
# the Ubuntu infrastructure
sleep $(shuf -i 1-3600 -n 1)
# Check to see whether there is a new version of Ubuntu available
/usr/lib/ubuntu-release-upgrader/release-upgrade-motd
}
sleep_then_check &
|