3 # atd Runs commands scheduled by the at command
7 # description: Runs commands scheduled by the at command at the time \
8 # specified when at was run, and runs batch commands when \
9 # the load average is low enough.
14 # Source function library
15 . /etc/rc.d/init.d/functions
18 [ -f /etc/sysconfig/atd ] && . /etc/sysconfig/atd
21 # See how we were called.
24 # Check if the service is already running?
25 if [ ! -f /var/lock/subsys/atd ]; then
29 msg_Already_Running atd
32 touch /var/lock/subsys/atd
37 rm -f /var/lock/subsys/atd
47 msg_Usage "$0 {start|stop|restart|reload|status}"