I hope this is where this query should be posted.
Here is the issue – –
I have a UNIX script that does several things to a file. As part of the script I execute a TCL proc that reads the file and creates header and trailer files with record counts. When I run the script manually from my HCI sign-on, it works great. When I run the same script using a cron job, I get the following error messages at the point where the TCL proc would run:
0509-036 Cannot load program hcitcl because of the following errors:
0509-150 Dependent module libtcl8.3.so could not be loaded.
0509-022 Cannot load module libtcl8.3.so.
0509-026 System error: a file or directory in the path name does not exist.
After reading the error mesages, I found where the libtcl8.3.so was located and put the directory into the $PATH variable. The same errors still came out.
I hope someone can point me in the right direction as to what needs to be done to get this to work as a cron job.
I will be forever in your debt.
Thanks,