My experience with cron on Solaris is that your .profile is not run before
the script is executed. It looks like your environment may not be setup
properly (I'm assuming the script works when you run it interactively as
root).

HTH,
Dave

On Nov 14, [EMAIL PROTECTED] scribed:

>
> 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