This usually happens because cron runs with no environment. Make sure you
source your .profile or set all required environment variables in your
script. Things like PATH,LD_LIBRARY_PATH etc 

Ken.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:julien.Pringuay@;nxbp.fr]
Sent: 14 November 2002 14:01
To: [EMAIL PROTECTED]
Subject: Error with crond



Hello

I want to use crond for launching a script every hour.

in a shell, my script is oukay but when i put it incrond i've got this mail
(root)

<<<
From: daemon
To: root


Open Client Message:
Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (131)
Message String: ct_init(): network packet layer: internal net library error:
Attempt to load protocol driver failed
install_driver(Sybase) failed: DBD::Sybase initialize: ct_init(112) failed
at /opt/perl/5.005_03/lib/5.00503/aix/DynaLoader.pm line 188.

 at /home/jul/dbi_sc.pl line 56
>>>

line 56 is the open fonction to a sybase server






*******************************************************************
L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de son contenu.
Toute utilisation ou diffusion non autorisee est interdite. Si vous
n'etes pas destinataire de ce message, merci de le detruire et
d'avertir l'expediteur.

The integrity of this message cannot be guaranteed on the Internet.
Natexis Banques Populaires can not therefore be considered
responsible for the contents.
Any unauthorized use or dissemination is prohibited. If you are not
the intended recipient of this message, then please delete it and 
notify the sender.
*******************************************************************

Reply via email to