URL: https://linuxfr.org/forums/linux-debutant/posts/les-taches-cron-ne-se-lancent-pas Title: Les tâches cron ne se lancent pas Authors: astuces-info.biz Date: 2013年02月10日T03:35:08+01:00 License: CC By-SA Tags: fedora Score: 0 Bonjour tous j'ai voulu programmer une tâche cron pour cela j'ai crée le fichier dans /home/jo/Downloads/test en tant que root j'ai taper "crontab -e" Voici le contenu : SHELL=/bin/bash MAILTO=root PATH=$PATH HOME=/ 24 03 * * * root rm -f /home/jo/Downloads/test J'ai sauvegarder avec :wq et pourtant cron ne se lance pas (j'ai voulu le lancer à 03:24 est le fichier test est toujours présent) Voici mes logs de /var/log/cron Feb 10 03:14:28 localhost crontab[1949]: (root) BEGIN EDIT (root) Feb 10 03:15:18 localhost crontab[1949]: (root) REPLACE (root) Feb 10 03:15:18 localhost crontab[1949]: (root) END EDIT (root) Feb 10 03:16:04 localhost crontab[1954]: (root) BEGIN EDIT (root) Feb 10 03:17:53 localhost crontab[1954]: (root) END EDIT (root) Feb 10 03:17:56 localhost crontab[1970]: (root) BEGIN EDIT (root) Feb 10 03:18:05 localhost crontab[1970]: (root) END EDIT (root) Feb 10 03:18:09 localhost crontab[1974]: (root) BEGIN EDIT (root) Feb 10 03:18:16 localhost crontab[1974]: (root) REPLACE (root) Feb 10 03:18:16 localhost crontab[1974]: (root) END EDIT (root) Feb 10 03:18:18 localhost crontab[1978]: (root) BEGIN EDIT (root) Feb 10 03:19:01 localhost crond[653]: (root) RELOAD (/var/spool/cron/root) Feb 10 03:19:16 localhost crontab[1978]: (root) REPLACE (root) Feb 10 03:19:16 localhost crontab[1978]: (root) END EDIT (root) Feb 10 03:19:29 localhost crontab[2024]: (root) BEGIN EDIT (root) Feb 10 03:19:32 localhost crontab[2024]: (root) REPLACE (root) Feb 10 03:19:32 localhost crontab[2024]: (root) END EDIT (root) Feb 10 03:20:01 localhost crond[653]: (root) RELOAD (/var/spool/cron/root) Feb 10 03:20:17 localhost crontab[2040]: (root) BEGIN EDIT (root) Feb 10 03:21:07 localhost crontab[2040]: (root) REPLACE (root) Feb 10 03:21:07 localhost crontab[2040]: (root) END EDIT (root) Feb 10 03:22:01 localhost crond[653]: (root) RELOAD (/var/spool/cron/root) Feb 10 03:22:01 localhost CROND[2052]: (root) CMD (root rm -f /home/jo/Downloads/test) Feb 10 03:22:13 localhost crontab[2061]: (root) BEGIN EDIT (root) Feb 10 03:22:34 localhost crontab[2061]: (root) END EDIT (root) Feb 10 03:22:37 localhost crontab[2065]: (root) LIST (root) Feb 10 03:23:46 localhost crontab[2124]: (root) BEGIN EDIT (root) Feb 10 03:23:55 localhost crontab[2124]: (root) REPLACE (root) Feb 10 03:23:55 localhost crontab[2124]: (root) END EDIT (root) Feb 10 03:24:01 localhost crond[653]: (root) RELOAD (/var/spool/cron/root) Feb 10 03:24:02 localhost CROND[2129]: (root) CMD (root rm -f /home/jo/Downloads/test) Feb 10 03:24:10 localhost crontab[2138]: (root) BEGIN EDIT (root) Feb 10 03:24:18 localhost crontab[2138]: (root) END EDIT (root) Feb 10 03:25:52 localhost crontab[2201]: (root) BEGIN EDIT (root) Feb 10 03:26:17 localhost crontab[2201]: (root) END EDIT (root) Feb 10 03:32:21 localhost crontab[2308]: (root) BEGIN EDIT (root) Feb 10 03:33:27 localhost crontab[2308]: (root) END EDIT (root) Qui peut m'aider ? PS : je suis sur Fedora 18 XFCE 32 bit

AltStyle によって変換されたページ (->オリジナル) /