HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //etc/cron.weekly/update-notifier-common
#!/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 &