Simeon Warner - 29Jan99 Added `-b 300' to atd command to make it wait 5mins (default is 1min) between launching new jobs. Hopefully this will solve the problem reported by Mike Faleski that too many jobs got launched. Simeon Warner - 18Dec98 Modified /etc/rc.d/init.d/atd to start atd with -l 1.8 option as requested by Dave McNamara. This means that jobs will get started when the load falls below 1.8 (Dave came up with this number from the recommendation of 0.8 for single processor machines.) [root@pop01]# more atd #!/bin/bash # # /etc/rc.d/init.d/atd # # Starts the at daemon # # chkconfig: 345 40 60 # description: Runs commands scheduled by the at command at the time \ # specified when at was run, and runs batch commands when the load \ # average is low enough. # Source function library. . /etc/rc.d/init.d/functions test -f /usr/sbin/atd || exit 0 # # See how we were called. # case "$1" in start) # Check if atd is already running if [ ! -f /var/lock/subsys/atd ]; then echo -n 'Starting at daemon: ' ###### # Modified 18Dec98 by Simeon Warner to start atd with -l 1.8 option ###### daemon /usr/sbin/atd -l 1.8 echo touch /var/lock/subsys/atd fi ;; stop) echo -n 'Stopping at daemon: ' killproc /usr/sbin/atd echo rm -f /var/lock/subsys/atd ;; reload|restart) $0 stop $0 start ;; status) status /usr/sbin/atd ;; *) echo "Usage: /etc/rc.d/init.d/atd {start|stop|restart|reload|status}" exit 1 esac exit 0 [root@pop01]# pwd