Here is my current entry for 3.8.1P (which works):
#Cycle the interface save message files
55 23 * * * /usr/bin/ksh -c ‘eval `/hci/bin/hcisetenv -root ksh /hci/root3.8.1P sflaprd`;hcicyclesavemsgs -d -o 14’ >/tmp/cyclemsgprd.log 2>&1
Here is my changed entry to reflect the new directory structure for 5.3:
#Cycle the SFLADEV interface save message files
05 17 * * * /usr/bin/ksh -c ‘eval `/quovadx/qdx5.3/integrator/sbin/hcisetenv -root ksh /quovadx/qdx5.3/integrator sfladev`;hcicyclesavemsgs -d -o 14’ >/tmp/cyclemsgdev.log 2>&1
I have changed the first line of the command to reflect the correct location for perl. Then I also ran the hcicyclesavemsgs straight from the command line after executing the SETROOT / SETSITE commands. the command runs fine when called manually.
However, when i run the above cron job for the 5.3 environment, this is the error i get:
$ less /tmp/cyclemsgdev.log
/usr/bin/ksh: hcicyclesavemsgs: not found.
So it appears that the first part of the command, which executes the ‘hcisetenv -root ksh’ is not setting the root env variable properly, because it is trying to find the hcicyclesavemsgs command in the wrong location.
What do I have wrong in this entry? Thanks in advance for your help!