source:
freewrt/package/base-files/default/etc/init.d/S60cron@
b679cc1
| Last change on this file since b679cc1 was b679cc1, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 247 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | case $1 in |
| 3 | start) |
| 4 | mkdir -p /var/spool/cron |
| 5 | ln -s /etc/crontabs /var/spool/cron/crontabs |
| 6 | crond -c /etc/crontabs |
| 7 | ;; |
| 8 | stop) |
| 9 | killall crond |
| 10 | ;; |
| 11 | restart) |
| 12 | $0 stop |
| 13 | $0 start |
| 14 | ;; |
| 15 | *) |
| 16 | echo "Usage: $0 {start | stop | restart}" |
| 17 | ;; |
| 18 | esac |
| 19 | exit 0 |
Note:
See TracBrowser
for help on using the repository browser.
