1 description "Cronie - the cron daemon"
3 start on pld.sysinit-done
4 stop on pld.shutdown-started
6 # This option will direct cron to send job output to the system log using syslog(3).
7 # This is useful if your system has no sendmail(8), or if mail is disabled using "off".
8 env CROND_SYSLOG_RESULT="no"
10 # This option allows you to specify a shell command string to use
11 # for sending cron mail output instead of sendmail(8).
12 # This command must accept a fully formatted mail message (with headers) on
13 # stdin and send it as a mail message to the recipients specified in the mail
15 # As a special case, the string "off" will disable sending mail.
16 #env CROND_MAIL_PROG="/usr/lib/sendmail"
23 # Read the old-style service config
24 [ -f /etc/sysconfig/cron ] && . /etc/sysconfig/cron
26 # no 'is_yes' as we don't want the havy init.d/functions here
27 if [ "$CROND_SYSLOG_RESULT" = "yes" ] ; then
28 CROND_ARGS="$CROND_ARGS -s"
31 if [ -n "$CROND_MAIL_PROG" ]; then
32 # XXX: should we handle spaces in $CROND_MAIL_PROG?
33 CROND_ARGS="$CROND_ARGS -m $CROND_MAIL_PROG"
36 exec /usr/sbin/crond -n $CROND_ARGS