Send a kill signal to cron, otherwise two instances could be running (#1923)
[openwrt.git] / package / busybox / files / cron
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3 START=50
4
5 start () {
6 mkdir -p /var/spool/cron
7 [ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
8 crond -c /etc/crontabs
9 }
10
11 stop() {
12 killall -9 crond
13 }
This page took 0.051786 seconds and 5 git commands to generate.