okay, got a linux question about 'atd'.
i'm running RedHat Linux 7.2 kernel 2.4.7-10
on an intel box (dell for what it's worth).
i have a job that creates a shell script
and batches it. the script goes into
the /var/spool/at directory (which, by the
way, is NOT NFS mounted).
the linux server is always busy and never
seems to run the job. i look and the man
page for atd says, 'atd will run the job by
default if the loadavg is about .8; use
the '-l' option to make adjustments'. i look
at /proc/loadavg and it hangs around 3.xx ...
so ... i configure the atd script to
run with a pre-defined load average
of 4 ("atd -l 4" ... our system rarely goes
now, when a job is submitted and is
placed in the /var/spool/at directory,
the script disappears (i assume that it's being
processed) ... BUT ... when i search for the
job (i have the job number) or 'ps auwwx'
around, i can find no trace of the job, the
job number, the process, or anything related.
even when i type 'atq', i get nothing.
other items of interest:
-- when the job was placed in the /var/spool/at
directory, the script is owned by 'nobody' and
the group is some wild 7 digit number. i didn't
think that would matter, but it may.
-- also, the permissions and owner for the /var/spool,
/var/spool/at and /var/spool/at/spool are:
drwxr-xr-x 14 root root 4096 Jan 29 2002 spool
drwx------ 3 daemon daemon 4096 Sep 12 17:23 at
drwx------ 2 daemon daemon 4096 Sep 12 17:23 spool
-- there doesn't seem to be ANY errors in /var/log/messages
-- lastly, when i launch at job by hand ('at now blah, blah, blah')
the job is put in queue and runs okay.