#!/bin/sh # # hdw - linux /etc/init.d/cron (copied from ROCK Linux) # # daemon to execute scheduled commands # test -f /usr/sbin/cron || exit 0 case "$1" in start) echo "Starting cron." /usr/sbin/cron ;; stop) echo "Stopping cron." killall -15 /usr/sbin/cron ;; restart) $0 stop ; $0 start ;; *) echo "Usage: $0 { start | restart | stop }" ; exit 1 ;; esac exit 0