Hi,
I have a small script to automate some data import and export from our
software. All it does is create a couple of environment variables and then
run a cobol program.
I can run this script manually without any problems whatsoever but it does
not want to run from a cron job.
any idea what could be causing this or what i should be looking at?
The script is very basic and I am only testing so don't be too critical. ;)
The ediexp script is as follows:
RUNPATH=/usr/rr/test/rrcob
export RUNPATH
DATAPATH=/usr/rr/test/data
export DATAPATH
runcobol RRLOGED4 -c terminfo.cfg -k -a "A 132 9 y 1"
Crontab is:
5,15,25,35,45,55 8-19 * * 1-5 /usr/bin/ediexp
regards
Alister
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug