Re: [Crontab] - Ma tache planifié ne se lance pas
Merci pour la manip, cétait bien ca.
J'ai bien configurer en local mais mon crontab ne fonctionne toujours pas.
Par contre j'ai le fichier "moi" qui s'est creer dans /var/mail/ avec le
meme message (celui du script) et qui se rempli tout les 2 minutes :
/From root@localhost.localdomain Fri Apr 14 15:13:02 2006
Return-path: <root@localhost.localdomain>
Envelope-to: root@localhost.localdomain
Delivery-date: Fri, 14 Apr 2006 15:13:02 +0200
Received: from root by localhost.localdomain with local (Exim 4.50)
id 1FUO6g-0001OQ-0p
for root@localhost.localdomain; Fri, 14 Apr 2006 15:13:02 +0200
From: root@localhost.localdomain (Cron Daemon)
To: root@localhost.localdomain
Subject: Cron <root@mynetwork> sh /home/moi/Hello
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Message-Id: <E1FUO6g-0001OQ-0p@localhost.localdomain>
Date: Fri, 14 Apr 2006 15:13:02 +0200
Hello/
Voila, je vois vraiment pas où j'ai foirer dans ma manip.
++
MXSinge
Frédéric Bothamy wrote:
La configuration d'exim 4 est faite différemment de celle d'exim 3
(celle que suggérait Steve). Pour exim4, il faut faire :
dpkg-reconfigure exim4-config
Fred
Reply to: