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

Re: cron fantome



[Oups, oublier d'envoyer à la liste]

Georges Mariano wrote:

> Le premier comporte le mot clé 'root', ce qui génère une erreur,
> le rapport commence alors par :
> <</bin/sh: root: command not found
> run-parts: executing /etc/cron.daily/apache

J'ai un email comme celui-ci une fois par jour depuis mon upgrade
à potato en août 2000 (puis à woody):

 Date: Tue, 1 Aug 2000 06:42:01 -0400
 From: root@mixing.qc.dfo.ca (Cron Daemon)
 To: root
 Subject: Cron <root@mixing> root     run-parts --report /etc/cron.daily

 /bin/sh: root: command not found

Mon /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.
 # 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
 42 6	* * *	root	run-parts --report /etc/cron.daily
 47 6	* * 7	root	run-parts --report /etc/cron.weekly
 52 6	1 * *	root	run-parts --report /etc/cron.monthly

Peter



Reply to: