Le Monday 22 May 2006 16:42, G DEBIAN("G DEBIAN" <gdebians@gmail.com>) a écrit: > Bonjour, Bonsoir, > > Depuis php je modifie le fichier de www-data se trouvant : > /var/spool/cron/crontabs > il me dit : > Restarting periodic command scheduler: cron/etc/init.d/cron: line > 18: start-stop-daemon: command not found > /etc/init.d/cron: line 19: start-stop-daemon: command not found La variable PATH ne doit pas être correcte. Il faut au moins avoir /bin, /sbin, /usr/bin et /usr/sbin ! Essayez 'PATH=/bin:/sbin:/usr/bin:/usr/sbin /etc/init.d/cron restart' La relance doit être fait en root... Pourquoi vous n'utilisez pas simplement 'crontab -u www-data -e' qui évitera le relance de crond (et surtout garantira la cohérence du fichier)? A+ -- Glennie "D'abord ils vous ignorent, ensuite ils vous raillent, ensuite ils vous combattent et, enfin, vous gagnez"
Attachment:
pgpn0ImnX4y09.pgp
Description: PGP signature