If that title didn't make sense, you probably don't care about this
post.
I added most of these comments just now, for the purpose of posting
this here. It's also slightly edited for (identifying) content.
# lame network monitoring
*/5 8-17 * * 1-5 ${HOME}/bin/pingall.sh 2> /dev/null
0 0-7,18-23 * * 1-5 ${HOME}/bin/pingall.sh 2> /dev/null
0 * * * 0,6 ${HOME}/bin/pingall.sh 2> /dev/null
*/10 * * * * ${HOME}/bin/ghetto_network_monitor.pl -s me@employer.dom -t unix@employer.dom,comproom@employer.dom
#
# Here comes the fun. Automate reminders for myself (and other
# people) about things that I'll forget (to remind other people)
# to do.
#
# Remind the boss about capital expense authorizations they
# haven't signed yet:
0 12 * * 1,4 [ -s ${HOME}/cc3/outstanding_CEAs ] && mutt -s 'Any word on these CEAs?' boss@employer.dom < ${HOME}/cc3/outstanding_CEAs
# Ask the secretary who tracks CEAs and purchase orders if we've
# gotten a PO back yet (that I haven't seen and, so, haven't faxed to
# the vendor):
0 12 * * 2,5 [ -s ${HOME}/cc3/outstanding_POs ] && mutt -s 'Any signature for these POs?' secretary@employer.dom -c boss@employer.dom < ${HOME}/cc3/outstanding_POs
# Send any urls I was emailed/got from IRC/stumbled across during
# the day but didn't have the time at work to actually look at home:
0 19 * * 1-5 if [ -s ${HOME}/urls ] ; then mutt -s "urls for `date`" me@home.dom < ${HOME}/urls ; cat /dev/null >| ${HOME}/urls ; fi
# Follow up on these emails, that I expect to have to bug people
# about if I ever expect to see a reply:
0 8 * * 1-5 [ -s ${HOME}/mail/remind ] && mutt -s "check mail/remind" me@employer.dom < /dev/null
# Remind myself of something shortly before leaving for work.
# Usually, "Don't forget to bring XYZ in today."
15 7 * * 1-5 if [ -s ${HOME}/cell-reminder ] ; then mutt -s `head -1 ${HOME}/cell-reminder` 15551234567@email.to.sms.dom < ${HOME}/cell-reminder ; cat /dev/null >| ${HOME}/cell-reminder ; fi
Post a Comment