7 PID
=$
(pidof
-o %PPID
/usr
/sbin
/crond
)
10 stat_busy
"Starting Cron Daemon"
12 # defaults to using syslog, and sendmail-ing cron output to local user
13 # to mail output to remote address instead, add "-m user@host"
14 # to CROND_ARGS in /etc/conf.d/crond
15 if [[ -z $PID ]] && /usr
/sbin
/crond
$CROND_ARGS; then
17 PID
=$
(pidof
-o %PPID
/usr
/sbin
/crond
)
18 echo "$PID" > /var
/run
/crond.pid
28 stat_busy
"Stopping Cron Daemon"
29 if [[ ! -z $PID ]] && kill "$PID" &>/dev
/null
; then
44 echo "Usage: $0 {start|stop|restart}" >&2