Le Dimanche 6 Juillet 2003 21:04, [vincent.riedweg] a �crit :

> This script works fine when launched in a console. This script fails in the
> following case when launched by cron 

This is the problem of cron : 

cron has no environment !
repeat after me : cron has no environment !

Then cron is unabled to find urpmi it has no path !

Either specify : /usr/sbin/urpmi instead of urpmi
either run a script in which you specify :
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin

Even after 10 years of Unix people forget this.

-- 
Pierre Jarillon - http://pjarillon.free.fr/
Vice-pr�sident de l'ABUL : http://abul.org/


Reply via email to