| Server IP : 152.69.216.235 / Your IP : 80.80.80.28 Web Server : Apache/2.4.37 (Oracle Linux Server) System : Linux ust-wp4-prod 5.15.0-310.184.5.2.el8uek.x86_64 #2 SMP Wed Jul 9 16:08:33 PDT 2025 x86_64 User : apache ( 48) PHP Version : 8.4.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/uptrack/ |
Upload File : |
#!/bin/sh
cronfile=/etc/cron.d/uptrack
# Run at a random time
randfirst=$(($(od -An -N2 -d /dev/urandom) % 30))
randsecond=$(($randfirst + 30))
if [ -e "$cronfile" ] && \
! echo 5f8ac9a8816940c1e309b2e3e5bf725c '' "$cronfile" | md5sum -c --status; then
echo '# Replaced by Ksplice Uptrack on '$(date --iso) > "$cronfile"
else
rm -f "$cronfile"
fi
mkdir -p /etc/cron.d
cat >>"$cronfile" <<EOF
# $cronfile: cron job for the Uptrack client
#
# PLEASE DO NOT MODIFY THIS CRON JOB.
# Instead, contact Ksplice Support at ksplice-support_ww@oracle.com.
#
# The offsets below are chosen specifically to distribute server load
# and allow for Uptrack server maintenance windows. This cron job
# also only contacts the Uptrack server every Nth time it runs,
# depending on a load control setting on the Uptrack server.
#
# If you would like to adjust the frequency with which your
# systems check for updates, please contact Ksplice Support at
# ksplice-support_ww@oracle.com
$randfirst,$randsecond * * * * root export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin && [ -x /usr/sbin/uptrack-upgrade ] && /usr/sbin/uptrack-upgrade --cron
EOF