Advertisement
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
- 17 * * * * root cd / && run-parts --report /etc/cron.hourly
- 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
- 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
- 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
- #
- ## /etc/cron.hourly/time.cron isn't working, so put it here 2010-10-21
- 30 * * * * root /etc/cron.hourly/time.cron
- ## added following 2010-10-19 from the old /etc/crontab
- ### added email address to dpkg --list entry to test mail
- 40 1 * * * root ( /bin/df -Th|mail -s "[$(hostname)] df -Th done on $(date) for [$(hostname)]" email@emailprovider -c mike )
- 50 1 * * * root ( /opt/scc/bin/scc -e "*" )
- 10 2 * * * root ( dpkg --list | grep "^ii" | cut -f3 -d ' ' | sed ':a;N;$!ba;s/\n/ /g' |mail -s "[$(hostname)] dpkg --list done on $(date) for [$(hostname)]" email@emailprovider )
- 20 2 * * * root ( mail < /etc/apt/sources.list -s "[$(hostname)] /etc/apt/sources.list done on $(date) [$(hostname)]" email@emailprovider )
- 25 2 * * * root ( mail < /etc/crontab -s "[$(hostname)] /etc/crontab done on $(date) [$(hostname)]" email@emailprovider )
- 29 2 * * * root ( mail < /var/opt/scc/data/scc.daylily.html -s "[$(hostname)] /var/opt/scc/data/scc.daylily.html done on $(date) [$(hostname)]" mike.fieschko@gmail.com -c mikeemail@emailprovider )
- 26 2 * * * root ( mail < /home/mike/.bashrc -s "[$(hostname)] mike's ~/.bashrc done on $(date) [$(hostname)]" mike.fieschko@gmail.com -c mikeemail@emailprovider )
- 27 2 * * * root ( mail < /home/mike/.bash_profile -s "[$(hostname)] mike's ~/.bash_profile done on $(date) [$(hostname)]" mike.fieschko@gmail.com -c mikeemail@emailprovider )
- 30 2 * * * root ( mail < /etc/fstab -s "[$(hostname)] /etc/fstab done on $(date) for [$(hostname)]" mike.fieschko@gmail.com -c mikeemail@emailprovider )
- 31 2 * * * root ( mail < /etc/passwd -s "[$(hostname)] /etc/passwd done on $(date) for [$(hostname)]" mike.fieschko@gmail.com -c mike )
- 32 2 * * * root ( mail < /etc/shadow -s "[$(hostname)] /etc/shadow done on $(date) for [$(hostname)]" mike.fieschko@gmail.com -c mikeemail@emailprovider )
- 33 2 * * * root ( mail < /etc/group -s "[$(hostname)] /etc/group done on $(date) for [$(hostname)]" mike.fieschko@gmail.com -c mike email@emailprovider )
- 34 2 * * * root ( mail < /etc/hosts -s "[$(hostname)] /etc/hosts done on $(date) for [$(hostname)]" mike.fieschko@gmail.com -c mikeemail@emailprovider )
- #35 2 * * * root ( mail < /boot/grub/menu.lst -s "[$(hostname)] /boot/grub/menu.lst done on $(date) for [$(hostname)]" mike.fieschko@gmail.com -c mikeemail@emailprovider )
- 37 2 * * * root ( mail < /boot/grub/grub.cfg -s "[$(hostname)] /boot/grub/grub.cfg done on $(date) for [$(hostname)]" email@emailprovider )
- 25 1 * * * root ( mail < /home/mike/.fvwm2rc -s "[$(hostname)] mike's .fvwm2rc done on $(date) for [$(hostname)]" email@emailprovider )
- 35 1 * * * root ( mail < /home/mike/.xinitrc -s "[$(hostname)] mike's .xinitrc done on $(date) for [$(hostname)]" email@emailprovider )
- 40 2 * * * root ( fdisk -l|mail -s "[$(hostname)] fdisk -l done on $(date) for [$(hostname)]" email@emailprovider )
- 10 3 * * * root /root/bin/run.applist.update
- 40 3 * * * root ( dpkg --get-selections|mail -s "[$(hostname)] get-selections run done on $(date) for [$(hostname)]" email@emailprovider )
- 10 4 * * * root /root/bin/run.aptitude.cron
- 15 4 * * * root /root/bin/run.aptitude.all.cron
- #15 5 * * * root ( /usr/bin/aptitude search '?installed?not(?automatic)' -F %p|mail -s "[$HOSTNAME] aptitude search run for [$HOSTNAME]" email@emailprovider )
- 40 4 * * * root ( mail < /root/daily.saved.aptitude.seach -s "[$(hostname)] daily.saved.aptitude.seach done on $(date) for [$(hostname)]" email@emailprovider )
- 42 4 * * * root ( mail < /root/daily.saved.aptitude.all.seach -s "[$(hostname)] daily.saved.aptitude.all.seach done on $(date) for [$(hostname)]" email@emailprovider )
- #
- 43 4 * * * root ( mail < /home/mike/.config/gpodder/channels.opml -s "[$(hostname)] mike's gpodder subscription list done on $(date) for [$(hostname)]" email@emailprovider )
- #
- 48 4 * * * root ( mail < /home/mike/.liferea_1.4/feedlist.opml -s "[$(hostname)] mike's liferea 1.4 feedlist.opml done on $(date) for [$(hostname)]" email@emailprovider )
- 58 4 * * * root ( mail < /home/mike/.liferea_1.6/feedlist.opml -s "[$(hostname)] mike's liferea 1.6 feedlist.opml done on $(date) for [$(hostname)]" email@emailprovider )
- 28 5 * * * root ( mail < /home/mike/.xchat2/servlist_.conf -s "[$(hostname)] mike's xchat server list file done on $(date) for [$(hostname)]" email@emailprovider )
- 38 5 * * * root ( mail < /home/mike/.kde/share/apps/korganizer/std.ics -s "[$(hostname)] mike's korganizer file done on $(date) for [$(hostname)]" email@emailprovider )
- 58 5 * * * root ( mail < /home/mike/.kde/share/apps/korganizer/std.bad.ics -s "[$(hostname)] mike's korganizer bad.file done on $(date) for [$(hostname)]" email@emailprovider )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement