Je ne comprends pas, j'ai ça dans ma crontab système
*/2 * * * * root /etc/ppp/ip-up.d/eagle_TestLink >/dev/null 2>&1
0 * * * * root /usr/sbin/ntpdate ntp.ciril.fr >/dev/null 2>&1
15 * * * * root /root/log >/dev/null 2>&1
|
Les 2 premières lignes fonctionnent comme je veux (ie toutes les 2 minutes et toutes les heures) mais pas la 3ème. Cette dernière ne s'éxécute pas alors que si je lance ce script en manuel il marche comme il faut.
Elle est où l'erreur ?
la preuve :
Aug 13 15:00:00 localhost CROND[10504]: (root) CMD (/usr/sbin/ntpdate ntp.ciril.fr >/dev/null 2>&1)
Aug 13 15:00:00 localhost CROND[10505]: (root) CMD (/etc/ppp/ip-up.d/eagle_TestLink >/dev/null 2>&1)
Aug 13 15:01:00 localhost CROND[10540]: (root) CMD (nice -n 19 run-parts /etc/cron.hourly)
Aug 13 15:02:00 localhost CROND[10577]: (root) CMD (/etc/ppp/ip-up.d/eagle_TestLink >/dev/null 2>&1)
Aug 13 15:04:00 localhost crond[1539]: (*system*) RELOAD (/etc/crontab)
Aug 13 15:04:00 localhost CROND[10626]: (root) CMD (/etc/ppp/ip-up.d/eagle_TestLink >/dev/null 2>&1)
Aug 13 15:06:00 localhost CROND[10686]: (root) CMD (/etc/ppp/ip-up.d/eagle_TestLink >/dev/null 2>&1)
Aug 13 15:08:00 localhost CROND[10740]: (root) CMD (/etc/ppp/ip-up.d/eagle_TestLink >/dev/null 2>&1)
Aug 13 15:10:00 localhost CROND[10796]: (root) CMD (/etc/ppp/ip-up.d/eagle_TestLink >/dev/null 2>&1)
Aug 13 15:12:00 localhost CROND[10855]: (root) CMD (/etc/ppp/ip-up.d/eagle_TestLink >/dev/null 2>&1)
Aug 13 15:14:00 localhost CROND[10901]: (root) CMD (/etc/ppp/ip-up.d/eagle_TestLink >/dev/null 2>&1)
Aug 13 15:16:00 localhost CROND[10951]: (root) CMD (/etc/ppp/ip-up.d/eagle_TestLink >/dev/null 2>&1)
|
Message édité par jotenakis le 13-08-2003 à 15:24:01
---------------
Jotenakis