Re: cron job (SCO) and INFORMIX
Posted in 1995
In article <810407019snz@excelsis.demon.co.uk> Sally@excelsis.demon.co.uk writes:
>In article <kcjDEHp8r.GGs@netcom.com> kcj@netcom.com "Kate Juliff" writes:
>
>>
>> I need to run a shell script that calls dbaccess, sacego and ISQL. I've
>> set it up so that it sets all the environment variables and the path, yet
>> I still get an error from cron that the executables can't be found. My
>> script is of the form
>
>You don't way what exactly can't be found, but the following should be
>included in the environment setup:
>
>INFORMIXDIR=
>PATH=$INFORMIXDIR/bin:$PATH>DBPATH=
>
Yes. They are all there. But still I get the message from cron such as
"dbaccess not found"
What I did was copy the Bourne shell settings from a .profile I set up
for Bourne shell informix users. These users can happily run the script.
But not cron!
Kate
>and you may with to give a full path name to the sql scripts etc.
>being executed.
>
>--
>============================================================================
>Sally Woolrich | This mail contains my personal
>sally@excelsis.demon.co.uk | views not those of my employer!
>============================================================================