Annotation of 43BSDReno/usr.bin/uucp/UUAIDS/uu.daily, revision 1.1

1.1     ! root        1: : Daily uucp script
        !             2: : assumes you have subdirectories.
        !             3: : If you do not have them, delete the '-d....' options below.
        !             4: : someone should use shell variables to do this
        !             5: : Much better to have subdirectories, however.
        !             6: PATH=:/bin:/usr/bin:/usr/ucb
        !             7: cd /usr/lib/uucp
        !             8: #
        !             9: umask 2
        !            10: deadtime=`expr 24 \* 7`
        !            11: cd /usr/lib/uucp
        !            12: (
        !            13: uuclean -pLTMP. -n24
        !            14: uuclean -p/usr/spool/uucp/STST -n24
        !            15: uuclean -d/usr/spool/uucp/AUDIT -n48
        !            16: uuclean -d/usr/spool/uucp/TM. -pTM. -n24
        !            17: uuclean -d/usr/spool/uucp/XTMP -n24
        !            18: uuclean -d/usr/spool/uucp/X. -pX. -n$deadtime
        !            19: uuclean -d/usr/spool/uucp/C. -pC. -n$deadtime
        !            20: uuclean -d/usr/spool/uucp/D. -pD. -n$deadtime
        !            21: uuclean -d/usr/spool/uucp/D.`uuname -l` -pD. -n$deadtime
        !            22: uuclean -d/usr/spool/uucp/D.`uuname -l`X -pD. -n$deadtime
        !            23: ) >/dev/null 2>&1
        !            24: 
        !            25: /usr/lib/uucp/uucpsummary | /usr/ucb/Mail -s "UUCP Summary" uucplist
        !            26: cd /usr/spool/uucp
        !            27: #
        !            28: # Ma Bell's uudemon.day saves a week's worth of log file information;
        !            29: # obviously, the site that came up with that never ran netnews.
        !            30: #
        !            31: mv LOGFILE Log-DAY
        !            32: mv SYSLOG Syslog-DAY
        !            33: # remove old junk from our public directory
        !            34: cd /usr/spool/uucppublic
        !            35: find . -type f -mtime +30 -exec rm -f {} \;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.