[olug] cron
mesc
mescie at home.com
Fri Jul 21 15:37:06 UTC 2000
I'm making headway with cron,I have it running but it's not right
yet.I have updatedb set to run once a week yet my HD light is on
constantly so I checked ps aux and this was in there repeatedly..
root 1723 0.0 0.9 1276 616 ? S 10:16 0:00 CROND
root 1726 0.6 1.2 1584 760 ? S 10:16 0:00 sh
/usr/bin/updatedb
root 1733 2.0 0.7 1112 484 ? D 10:16 0:00 slocate
-u -l 1 -d /var/lib/slocate/sloc
I don't even have slocate in my cron :) This is my crontab
file Modified
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=mescie at home.com
HOME=/
# run-parts
/usr/local/etc/logcheck.sh
* 14 * * find / -name "core*" -exec ls\
-l {} \
#root /etc/cron.daily/logrotate
* * * * 0 /usr/bin/updatedb
#* * * * * root run-parts/etc/cron.monthly
# Mandrake-Security : if you remove this comment, remove the next line
too.
0 0 * * * root /etc/security/msec/cron-sh/security.sh
This is the file generated by crontab -e...
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.846 installed on Fri Jul 21 09:48:49 2000)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp
$)
* * * * * find / -name "core*" -exec ls -l {} \
* * * * * /usr/bin/updatedb
* * * * * /usr/local/etc/logcheck.sh
I know the timestamps is this file aren't right but that's the only way
I could get anything to run (yes I'm trying anything....lol)
Thank you,Gary Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net
More information about the OLUG
mailing list