shell script in crontab
Posted in 2004
hi all,
I am running a shell script in crontab which consists dbload command. =
scripts runs well manuelly, but in crontab it gives an error like above. =
DBLOAD Load Utility INFORMIX-SQL Version 7.31.UC5 Copyright =
(C) Informix Software, Inc., 1984-1998 Software Serial Number =
AAC#J548886 =
=20
Environment variable INFORMIXSERVER must be set. =20
In script I tried to set these variables but nothing is changed.=20
INFORMIXDIR=3D/usr/informix
export INFORMIXDIR =20
PATH=3D$INFORMIXDIR/bin:. =20EXPORT PATH
INFORMIXSERVER=3Debimtcp2 =20export INFORMIXSERVER
why these variables doesn't set?
what can I do for running dbload command in crontab?
my operating system is sco openserver 5.04 and ids 7.31
my shell is running /bin/sh=20
thanks.
mustafa sert