Posted in 1998
Paul wrote:
>
> I am trying to run update statistics from cron. I keep getting database
> closed messages. But I can connect to the database and run update
> statistics interactively.
> do I have to submit a password when I connect to the database?
No but your cron job may not have the proper environment variables set.
Best to make the cron job a script that first sets the required vars:
INFORMIXSERVER
INFORMIXDIR
PATH=$INFORMIXDIR/bin:$PATHONCONFIG
etc.
Art S. Kagel
We use strictly necessary cookies to make this site work. With your consent we’d also use optional cookies for analytics and marketing. You can accept all, reject all, or choose. Read our Cookie Policy.