summaryrefslogtreecommitdiffstats
path: root/dcron/crond
blob: 732889c0af13e425888f053b8567bae1eee85d30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
#
# /etc/rc.d/crond: start/stop cron daemon
#

case $1 in
start)
	/usr/sbin/crond -S -l info
	;;
stop)
	killall -q /usr/sbin/crond
	;;
restart)
	$0 stop
	sleep 2
	$0 start
	;;
*)
	echo "usage: $0 [start|stop|restart]"
	;;
esac

# End of file