Alister Waller wrote:

> 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?

How do you know it won't run?
Can you capture the output from the cronjob and see what's going on?

Also, remember that the cron environment will differ wildly from
the shell in which you normally run cobol .... ensure you've duplicated
that environment faithfully. Perhaps the PATH is wrong or there  are
other env variables you need to define.

Cheers
Rick


-- 
_____________________________________________
Rick Welykochy || Praxis Services Pty Limited

"Any engineer or executive who, disregarding best practices, entrusts
 security-critical functions to closed-source software is committing
 an actionable breach of their responsibility to their employee."
                                     - suggested by Eric Raymond

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to