Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /etc/crontab: system-wide crontab
- # Unlike any other crontab you don't have to run the `crontab'
- # command to install the new version when you edit this file
- # and files in /etc/cron.d. These files also have username fields,
- # that none of the other crontabs do.
- SHELL=/bin/sh
- PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
- # m h dom mon dow user command
- 53 * * * * root cd / && run-parts --report /etc/cron.hourly
- 29 5 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
- 50 1 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
- 38 3 12 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
- 30 1 * * 1 deployer /home/deployer/cronRefresh.sh &>> /var/log/report/cron.log
- 0 */2 * * * deployer /home/deployer/cronLoadReport.sh &>> /var/log/report/cron.log
- */5 * * * * root /usr/bin/touch /tmp/cron.tmp >> /tmp/touch.log 2>&1
- #gzip logs until we use logrotate / syslog
- 33 2 * * * find /usr/local/tomcat/logs/ /var/log/wrapper/ /var/log/webpage/ /var/log/switch/ /var/log/ibe/ /var/log/cm/ /var/log/accounts/ -regex ".+-[0-9][0-9]\(.log\)?$" -exec gzip {} \;
- #clean tomcat temp dir / gzip old tomcat standard logs / remove old tomcat standard logs
- 44 2 * * * root find /usr/local/tomcat/temp/ -mtime +1 -exec rm -rf {} \;
- 47 2 * * * root find /usr/local/tomcat/logs/ -mtime +120 -exec rm -rf {} \;
Add Comment
Please, Sign In to add comment