Good afternoon all, I've noticed several problems with the 'at' scheduler in both the Intel 32 and 64 bit extensions. First, both require the flex.tcz dependency. Secondly we need to add some additional lines to the /usr/local/tce.installed/atd file:
...snip...
if [ ! -d /var/at/atjobs ]; then
mkdir -p /var/at/atjobs
chown root:staff /var/at/atjobs
chmod 775 /var/at/atjobs
fi
if [ ! -d /var/at/atspool ]; then
mkdir -p /var/at/atspool
chown root:staff /var/at/atspool
chmod 775 /var/at/atspool
fi
if [ ! -e /var/at/atjobs/.SEQ ]; then
touch /var/at/atjobs/.SEQ
chown root:staff /var/at/atjobs/.SEQ
chmod 660 /var/at/atjobs/.SEQ
fi
...snip...
There is also a missing /usr/local/etc/init.d/atd script:
#!/bin/sh
case $1 in
start) atd ;;
stop) kill $(pidof atd) ;;
restart)
$0 stop
$0 start
;;
*) echo "Usage $0: {start|stop|restart} ;;
esac
Lastly, even with these changes I still can't seem to have scheduled tasks run. I'm getting an error "Can't signal atd (permission denied)", but have no clue why. Any thoughts?
Thanks,
Dave
[EDIT]: Added code tags. Rich