cron scripts using ontape
Posted in 2000
Topics: Backup & Restore, Server Administration, Internationalization & Character Sets
Hello
I'm new to this forum and need help running a script out of the cron using
ontape. I get an error back of 'initgls'. I have been told this has
something to do with the environmental variables but all the variables are
defined in the script. The INFORMIXDIR, ONCONFIG, PATH and HOME setting are
correct but the script won't run.
However the script will run from the command line and it works fine.
I am using Informix Dynamic Server 7.3.1 with a SunOS system. Any help is
welcome.
John Visicaro
John Visicaro wrote:
>
> Hello
> I'm new to this forum and need help running a script out of the cron using
> ontape. I get an error back of 'initgls'. I have been told this has
> something to do with the environmental variables but all the variables are
> defined in the script. The INFORMIXDIR, ONCONFIG, PATH and HOME setting are
have you set INFORMIXSERVER ?
ontape works with the following environment:
$ export INFORMIXDIR=....
$ export INFORMIXSERVER=...
$ export ONCONFIG=....
$ export PATH=$PATH:$INFORMIXDIR/bin
$ ontape .....
regards
Markus
> correct but the script won't run.
> However the script will run from the command line and it works fine.
> I am using Informix Dynamic Server 7.3.1 with a SunOS system. Any help is
> welcome.
> John Visicaro