Originally posted by: Ian_Guthrie
I've got two AIX systems, both at 6100-03-01-0921. Both systems have
the at binary at the exact same size so they are identical.On one
system if I create a file called at.cmd with the following contents:
export LIBPATH=/usr/lib:/usr/ibmcxx/lib:/usr/local/lib:/opt/IBM/db2/
V9.5/lib64:.:/home/bncprod/lib:/cb/dev/rel4.8/bl1491/lib
echo test >>$HOME/cblog.test 2>&1
My test file is created and "test" is inserted into the file. On the
other system, the job fails
unless I chmod +x the actual at.cmd
file. On the first system, the permissions are simply 644 and at.cmd
is not executable.
/var/adm/cron/log shows "ian : CMD ( ian.1260994697.a ) : PID
( 524480 ) : Wed Dec 16 15:18:17 2009
Cron Job with pid: 524480 Failed
/var/spool/mail/root contains:
ksh[3]: at.cmd: 0403-006 Execute permission denied.
This is messing up some jobs that our application is trying to
run. . . any ideas wy this might e happening?
I execute at via the command line like this:
at now at.cmd
#AIX-Forum