Bonjour, j’ai récemment configuré un serveur web, avec un ftp situé dans /media/ftp.
J’ai modifié le crontab system (/etc/crontab), mais il ne s’execute pas…
Le voici :
/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 /$
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /$
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /$
#configserveur
O */2 * * * root chown -R user:user /media/serveur/FTP
1 */2 * * * root chmod -R 1777 /media/serveur/FTP
2 */2 * * * root find /media/serveur/FTP -type f -exec chmod 664 {} ;
3 */2 * * * root chown -R user:user /media/serveur/site
4 */2 * * * root chmod -R 1777 /media/serveur/site
5 */2 * * * root find /media/serveur/site -type f -exec chmod 664 {} ;
User, c’est mon nom de famille 
Malheureusement, il ne fonctionne pas…
J’ai essayé de faire de même en modifiant le crontab du root (je l’ai testé avec une simple commande */10 * * * * halt) et cela ne fonctionne pas…
J’en conclu que c’est le cron qui ne marche pas, que faire?