3 # $FreeBSD: src/etc/periodic/daily/500.queuerun,v 1.1.2.3 2002/04/15 01:56:15 gshapiro Exp $
4 # $DragonFly: src/etc/periodic/daily/500.queuerun,v 1.2 2003/06/17 04:24:48 dillon Exp $
7 # If there is a global system configuration file, suck it in.
9 if [ -r /etc
/defaults
/periodic.conf
]
11 .
/etc
/defaults
/periodic.conf
15 case "$daily_queuerun_enable" in
17 if [ ! -x /usr
/sbin
/sendmail
]
19 echo '$daily_queuerun_enable is set but /usr/sbin/sendmail' \
23 /usr
/sbin
/sendmail
-q >/dev
/null
2>&1 &
24 case "$daily_submit_queuerun" in
26 if [ -f /etc
/mail
/submit.cf
]
28 /usr
/sbin
/sendmail
-q -Ac >/dev
/null
2>&1 &