File manager - Edit - /home/newsbmcs.com/public_html/static/img/logo/cron.daily.zip
Back
PK r�Z�s��] ] quotanu ȯ�� #! /bin/sh # check if quota package is available test -x /usr/sbin/warnquota || exit 0 # check if warnquota run is configured test -f /etc/default/quota || exit 0 . /etc/default/quota if [ "$run_warnquota" = "true" ]; then # check if quotas are enabled if grep -q '^[^#]*quota' /etc/fstab; then /usr/sbin/warnquota -ug fi fi exit 0 PK r�Z<A�y y logrotatenu ȯ�� #!/bin/sh # skip in favour of systemd timer if [ -d /run/systemd/system ]; then exit 0 fi # this cronjob persists removals (but not purges) if [ ! -x /usr/sbin/logrotate ]; then exit 0 fi /usr/sbin/logrotate /etc/logrotate.conf EXITVALUE=$? if [ $EXITVALUE != 0 ]; then /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]" fi exit $EXITVALUE PK r�ZK"if f .placeholdernu �[��� # DO NOT EDIT OR REMOVE # This file is a simple placeholder to keep dpkg from removing this directory PK r�Z-gMx x apportnu ȯ�� #!/bin/sh -e # clean all crash reports which are older than a week. [ -d /var/crash ] || exit 0 find /var/crash/. ! -name . -prune -type f \( \( -size 0 -a \! -name '*.upload*' -a \! -name '*.drkonqi*' \) -o -mtime +7 \) -exec rm -f -- '{}' \; find /var/crash/. ! -name . -prune -type d -regextype posix-extended -regex '.*/[0-9]{12}$' \( -mtime +7 \) -exec rm -Rf -- '{}' \; PK r�Zp���� � apt-compatnu ȯ�� #!/bin/sh set -e # Systemd systems use a systemd timer unit which is preferable to # run. We want to randomize the apt update and unattended-upgrade # runs as much as possible to avoid hitting the mirrors all at the # same time. The systemd time is better at this than the fixed # cron.daily time if [ -d /run/systemd/system ]; then exit 0 fi check_power() { # laptop check, on_ac_power returns: # 0 (true) System is on main power # 1 (false) System is not on main power # 255 (false) Power status could not be determined # Desktop systems always return 255 it seems if command -v on_ac_power >/dev/null; then if on_ac_power; then : elif [ $? -eq 1 ]; then return 1 fi fi return 0 } # sleep for a random interval of time (default 30min) # (some code taken from cron-apt, thanks) random_sleep() { RandomSleep=1800 eval $(apt-config shell RandomSleep APT::Periodic::RandomSleep) if [ $RandomSleep -eq 0 ]; then return fi if [ -z "$RANDOM" ] ; then # A fix for shells that do not have this bash feature. RANDOM=$(( $(dd if=/dev/urandom bs=2 count=1 2> /dev/null | cksum | cut -d' ' -f1) % 32767 )) fi TIME=$(($RANDOM % $RandomSleep)) sleep $TIME } # delay the job execution by a random amount of time random_sleep # ensure we don't do this on battery check_power || exit 0 # run daily job exec /usr/lib/apt/apt.systemd.daily PK r�Z�P�F{ { dpkgnu ȯ�� #!/bin/sh # Skip if systemd is running. if [ -d /run/systemd/system ]; then exit 0 fi /usr/libexec/dpkg/dpkg-db-backup PK r�Z�:��2 2 man-dbnu ȯ�� #!/bin/sh # # man-db cron daily set -e if [ -d /run/systemd/system ]; then # Skip in favour of systemd timer. exit 0 fi # This should be set by cron, but apparently isn't always; see # https://bugs.debian.org/209185. Add fallbacks so that start-stop-daemon # can be found. export PATH="$PATH:/usr/local/sbin:/usr/sbin:/sbin" iosched_idle= # Don't try to change I/O priority in a vserver or OpenVZ. if ! egrep -q '(envID|VxID):.*[1-9]' /proc/self/status && \ ([ ! -d /proc/vz ] || [ -d /proc/bc ]); then iosched_idle='--iosched idle' fi if ! [ -d /var/cache/man ]; then # Recover from deletion, per FHS. install -d -o man -g man -m 0755 /var/cache/man fi # expunge old catman pages which have not been read in a week if [ -d /var/cache/man ]; then cd / start-stop-daemon --start --pidfile /dev/null --startas /bin/sh \ --oknodo --chuid man $iosched_idle -- -c \ "find /var/cache/man -type f -name '*.gz' -atime +6 -print0 | \ xargs -r0 rm -f" fi # regenerate man database if [ -x /usr/bin/mandb ]; then # --pidfile /dev/null so it always starts; mandb isn't really a daemon, # but we want to start it like one. start-stop-daemon --start --pidfile /dev/null \ --startas /usr/bin/mandb --oknodo --chuid man \ $iosched_idle \ -- --no-purge --quiet fi exit 0 PK r�Z�s��] ] quotanu ȯ�� PK r�Z<A�y y � logrotatenu ȯ�� PK r�ZK"if f D .placeholdernu �[��� PK r�Z-gMx x � apportnu ȯ�� PK r�Zp���� � � apt-compatnu ȯ�� PK r�Z�P�F{ { � dpkgnu ȯ�� PK r�Z�:��2 2 C man-dbnu ȯ�� PK � �
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings