Le jeu 01/05/2003 � 19:29, Romaric ALIX a �crit :
> as tu verifie que le PATH dans le script permet de lancer  toutes tes 
> commandes ?

Oui, la variable est bien initialis�e dans mon script.

En fait je viens de trouver, le probl�me venait de moi :-)

Quand ajoute des crons par "crontab -e", il n'y a pas besoin de
sp�cifier l'utilisateur, et moi je l'avais fait ce qui veut dire que
cron cherchait � ex�cuter "root /usr/local/bin/adsl.sh" et evidemment �a
pouvait pas aller, j'ai virer le root et maintenant tout roule.

Merci

Laurent
> 
> Laurent a �crit:
> 
> >Bonjour � tous,
> >
> >J'ai un petit soucis avec cron, j'utilise la commande "crontab -e" pour
> >y mettre l'ordonnancement d'un script.
> >
> >La commande crontab -l me renvoie ce r�sultat:
> >
> ># crontab -l
> >05,10,15,20,25,30,35,40,45,50,55 *      * * *   root
> >/usr/local/bin/adsl.sh
> >
> >Et dans mes logs:
> >
> >May  1 14:20:01 debian /USR/SBIN/CRON[10285]: (root) CMD (root
> >/usr/local/bin/adsl.sh)
> >May  1 14:25:01 debian /USR/SBIN/CRON[10304]: (root) CMD (root
> >/usr/local/bin/adsl.sh)
> >May  1 14:30:01 debian /USR/SBIN/CRON[10344]: (root) CMD (root
> >/usr/local/bin/adsl.sh)
> >May  1 14:35:01 debian /USR/SBIN/CRON[10347]: (root) CMD (root
> >/usr/local/bin/adsl.sh)
> >May  1 14:40:01 debian /USR/SBIN/CRON[10350]: (root) CMD (root
> >/usr/local/bin/adsl.sh)
> >May  1 14:45:01 debian /USR/SBIN/CRON[10353]: (root) CMD (root
> >/usr/local/bin/adsl.sh)

-- 
(o_
//\
V_/_ Debian GNU/Linux PowerPC user.




Répondre à