PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin #------------------------------------------------------------------------------ # set D4gl License 2 0 1,15 * * /u/catcom/scripts/catenv /usr/fgl2c/bin/setf4gllic 2>&1 >/usr/fgl2c/bin/setf4gllic.log #################################################### # daily backup #0 1 * * 1,2,3,4,5 /root/dobu_daily_dctm02vp # monthy backup 0 4 10 * * /root/dobu_monthly_dctm02vp #################################################### # remove any telmax21 system admin shell processes # this is to stop cpu hogging by rogue sessions 30 1 * * * . /u/catcom/catcom_vars && pskill 9 t21sysadm #################################################### #################################################### # # Copy Organizational Hierary (gengroup/groupname) to history tables # History table for gengroup is hist_gg # History table for groupname is hist_gn # see doorghist script - Should be run just after midnight # - Sets hdate fiels in history tables to (TODAY -1) 5 0 * * * . /u/catcom/catcom_vars && /u/catcom/scripts/catenv doorghist 1>>"/u/catcom/debug/orghist.log" 2>&1 # # schedule automatic download 0 1 * * * . /u/catcom/catcom_vars && /u/catcom/scripts/catenv catrun autodown "21:30" 1>>$MESSLOG 2>&1 # # disable cmdque during the day 0 8 * * 1,2,3,4,5 /u/catcom/scripts/t21disable cmdque 1>>/u/catcom/debug/MessLog 2>&1 # # remove old calls until only %90 disk used 30 8 * * * /u/catcom/scripts/catenv "catrun rmcalls 83" 1>>/u/catcom/debug/rmcalls.log 2>&1 # # healthcheck 45 8 * * * . /u/catcom/catcom_vars && /u/catcom/scripts/catenv healthcheck 1>>"/u/catcom/debug/healthcheck.log" 2>&1 # # generate warnings for all sites not listed in file /u/catcom/database/nowarn # that do NOT have any call data for yesterday 0 13 * * * /u/catcom/scripts/catenv pollwarn 1 1 1>>/u/catcom/debug/MessLog 2>&1 # Trim the MessLog file. 58 16 * * * . /u/catcom/catcom_vars && /u/catcom/bin/trimfile -f$MESSLOG -n 10000 2>/dev/null # # enable cmdque after normal office hours 0 9 * * 1,2,3,4,5 /u/catcom/scripts/t21enable cmdque 1>>/u/catcom/debug/MessLog 2>&1 # # Trim the Directory Update Log file. 2 19 * * * . /u/catcom/catcom_vars && /u/catcom/bin/trimfile -f/u/catcom/debug/dir.upd -n 10000 2>/dev/null # # Trim the 'C' Directory log file. 5 19 * * * . /u/catcom/catcom_vars && /u/catcom/bin/trimfile -f$LOGFILE -n 10000 2>/dev/null # # Trim CLU log files # CLU startup log file 7 19 * * * /u/catcom/bin/trimfile -f/u/catcom/clu/log -n 10000 2>/dev/null # log file all all poll groups setup 8 19 * * * /u/catcom/scripts/trimall 10000 /u/catcom/clu/*.log 2>/dev/null # # Clear out all mail. #15 19 * * * find / -name 'mbox' -exec rm -f '{}' \; # # Delete the file's in '/usr/spool/Directory' greater than 14 days old. 25 19 * * * /u/catcom/scripts/clean 14 /usr/spool/Directory # #entire system backup and verify # disable 24/04/2015, due to run away cpio #0 2 * * 3 /dobv #18 16 * * * /dobv # # Old stuff ----------------------------------- # # Check disk partion space. #0 * * * * . /u/catcom/catcom_vars && diskchk # # Make sure NCA queues are running. #2,12,22,32,42,52 * * * * /u/catcom/scripts/startup # # Delete the file's in '/u/catcom/fep' greater than 7 days old. # 30 19 * * * /u/catcom/scripts/clean 7 /u/catcom/fep # # Delete the file's in '/u/catcom/rejects' greater than 7 days old. # 40 19 * * * /u/catcom/scripts/clean 7 /u/catcom/rejects # # Delete the file's in '/u/catcom/raw' greater than 7 days old. # 45 19 * * * /u/catcom/scripts/clean 7 /u/catcom/raw # ##igno 0 6 15 * * sh /opt/sudo_repo/sudo_filecp.sh