- 论坛徽章:
- 0
|
原帖由 hui1983106 于 2006-11-2 16:11 发表
能不能给举个例子详细说一下?
cat /etc/init.d/cron :
- #! /bin/bash
- #
- # crond Start/Stop the cron clock daemon.
- #
- # chkconfig: 2345 90 60
- # description: cron is a standard UNIX program that runs user-specified \
- # programs at periodic scheduled times. vixie cron adds a \
- # number of features to the basic UNIX cron, including better \
- # security and more powerful configuration options.
- # processname: crond
- # config: /etc/crontab
- # pidfile: /var/run/crond.pid
- #
- ### BEGIN INIT INFO
- # Provides: crond
- # Required-Start: $syslog
- # Required-Stop: $syslog
- # Default-Start: 2 3 4 5
- # Short-Description: The cron clock daemon
- # Description: cron is a standard UNIX program that runs user-specified
- # programs at periodic scheduled times. vixie cron adds a
- # number of features to the basic UNIX cron, including better
- # security and more powerful configuration options.
- ### END INIT INFO
复制代码
== |
|