Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Evelin Kaminsky — — source: Informix-list mailing list archive (1991-1998)
Donald S. Bryant wrote:
>
> Hello all,
>
> Recently I've been trying to run a script from the crontab which makes
> several different calls to oncheck and onstat. Unfortunately this
> results in an Informix error
> indicating that when this script is run from the crontab that
> insufficient priviledges exist. The same script when executed by root
> from the command line works fine.
>
> Does anyone have a clue why this is failing?
Hi,
I had such a problem some times ago.
Icheck my database every night and after a migration
i had the effect that onstat not found and database
not found and some other.
My crontab is edit with informixuser and I run a SINIX
-System and online 7.14.
The follow help me:
I set all Informix-environment variables in the begin of
the scrip such loke INFORMIXDIR;ISQLDIR;ONCONFIG;DATABASE and
what I need else. After this it works fine.
I hpe that help.
Evelin.
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.