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.