我的/etc/crontab文件如下: SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command 25 6 * * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily 47 6 * * 7 root test -e /usr/sbin/anacron || run-parts --report /etc/cron.weekly 52 6 1 * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.monthly # 其中/etc/cron.daily/find文件如下: #! /bin/sh # # cron script to update the `find.codes' database. # # Written by Ian A. Murdock <[EMAIL PROTECTED]> and # Kevin Dalley <[EMAIL PROTECTED]> if [ -f /etc/updatedb.conf ]; then . /etc/updatedb.conf fi cd / && updatedb --localuser=nobody 2>/dev/null ============================================================= [EMAIL PROTECTED] locate 命令的時候,總是告訴我說 [EMAIL PROTECTED] 謝了先。 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- | This message was re-posted from [email protected] | and converted from gb2312 to big5 by an automatic gateway.

