Bonjour à tous,
J’essaye depuis hier de faire marcher le cron sur mon serveur Debian et je n’y arrive pas : rien ne se passe. Pourtant, le cron est bien démarré :
dylia:/etc# ps -edf | grep cron
root 25723 1 0 19:15 ? 00:00:00 /usr/sbin/cron
root 25761 18609 0 19:20 pts/0 00:00:00 grep cron
Voici le contenu de mon crontab :
[code]dylia:/home/fxaguessy# crontab -l
m h dom mon dow command
*/1 * * * * /bin/touch /tmp/testcron[/code]
Et là, rien ne se passe. Dans les log systèmes : il y a une erreur toute les 5 minutes (que je ne comprends pas) et qui est présente même quand je commente la ligne du crontab (et que je redémare le cron).
dylia:/etc# tail -f /var/log/syslog
Nov 4 19:22:01 dylia CRON[25767]: Module inconnu
Nov 4 19:23:01 dylia CRON[25769]: Module inconnu
Voici le fichier /etc/crontab :
[code]dylia:/etc# cat /etc/crontab
/etc/crontab: system-wide crontab
Unlike any other crontab you don’t have to run the `crontab’
command to install the new version when you edit this file
and files in /etc/cron.d. These files also have username fields,
that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#[/code]
J’ai réinstallé cron et vérifié le crontab de tous les utilisateurs, rien n’y fait.
Merci par avance pour votre aide.