You did not say what your bad results was when using cron.
However, It may very well have dealt with the environment
the 4ge program had at the time of execution. I think you
can correct your results by executing a shell script from your
cron. In the shell script you will need to setup all needed
environment variables (UNIX and Informix) before executing
the 4ge program. This will enable you to have the same
environment for the 4ge program being run from cron and the
shell script as you have when you execute it from your shells
command line.
Chuck Francis
----------
From: ilist
To: internet!rmy.emory.edu!informix-list
Subject: Scheduling processes in Informix
Date: Wednesday, April 05, 1995 8:29AM
I am trying to call an external program (that is actually a .4ge program)
from
within an Informix procedure, every 5 minutes. I have tried with the Unix
cron
but with bad results. Does anyone know how to handle such a problem?
I have Informix SE 4.0 on Interactive Unix 3.0. Thank you in advance
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Paolo F. Fantoni
IFE - OECD Halden Reactor Project
P.O. BOX 173, N-1751 HALDEN, NORWAY
TLF: +47 69 18 31 00
FAX: +47 69 18 71 09
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$