[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mon cron ne "tourne" pas



OLIVER Patrice a écrit :

Bonjour,

J'ai ajouté des tâches dans le fichier /etc/crontab
dans liste des processus de ma machine, il existe dans un processus cron :

ps aux | grep cron
root       233  0.0  0.2  1752  732 ?        S    Apr21   0:02 /usr/sbin/cron

Et pourtant, les tâches que j'ai rajouté dans /etc/crontab (par vi) ne sont pas exécutées. Voici mon fichier crontab :
Pour modifier ton fichier cron, tu fais bien, en etant loggue sous root, crontab -u root -e ?

# /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.
# This file also has a username field, 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
25 6    * * *   root    test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily
47 6    * * 7   root    test -e /usr/sbin/anacron || run-parts --report /etc/cron.weekly
52 6    1 * *   root    test -e /usr/sbin/anacron || run-parts --report /etc/cron.monthly
00 *    * * *   root    /DEVELOP/dev_sh/exim/purge_frozen_msgs > /dev/null
00 9    * * 1-5 root    /DEVELOP/dev_sh/teletrans/S009_vers_appli > /dev/null
#

un ls -l sur ce fichier retourne les informations suivantes :

-rwxr-xr-x    1 root     root          747 May  7 17:48 /etc/crontab


Je dois mettre cette machine en prod en début de semaine prochaine.
Quelqu'un a une idée ?

Cordialement,

----------------------------------------
            Patrice OLIVER
    Responsable Réseaux & Sécurité
----------------------------------------
      HOSPICES CIVILS DE BEAUNE
         Service Informatique
       Avenue Guigone de Salins
                BP 104
          21203 BEAUNE CEDEX

        Tél. 33 3 80 24 44 09
        Fax  33 3 80 24 45 90
----------------------------------------





--
:  ______ ______ ______ ______ ______ __  daniel.huhardeaux@tootai.com
: /_____// __  // __  //_____// __  // / phone.: +48 32 285 5276
:  / /  / /_/ // /_/ /  / /  / /_/ // / fax....: +48 32 285 5276
: /_/  /_____//_____/  /_/  /_/ /_//_/ mobile..: +48 602 284 546



Reply to: