02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
有run-parts脚本运行/etc/cron.daily目录下面的文件
[chengmo@centos5 ~]$ cd /etc/cron.daily/
[chengmo@centos5 cron.daily]$ cat makewhatis.cron
#!/bin/bash
LOCKFILE=/var/lock/makewhatis.lock
makewhatis -u -w
……
找到了这个是由这个脚本运行的
以上是通过man命令查找帮助信息的一个过程,有问题,首先分析帮助是个不错的选择。
作者:chengmo QQ:8292669










