Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2002 13:55:44 -0600
From:      "Mike Meyer" <mwm-dated-1012506945.830f86@mired.org>
To:        Christian Sauer <sauerc@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: question about /etc/periodic.conf
Message-ID:  <15443.2496.918511.507772@guru.mired.org>
In-Reply-To: <113003757@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Sauer <sauerc@yahoo.com> types:
> Hello all,
> 
> I recently wrote a shell script that does a cvsup for my ports tree, and 
> I put the script in the /etc/periodic/weekly folder.  I decided to 
> follow suit with the other periodic scripts and added to the top of mine:
> 
> if [ -r /etc/defaults/periodic.conf ]
> then
> 	. /etc/defaults/periodic.conf
> 	source_periodic_confs
> fi
> 
> so I could control my script through the conf files.  Instead of editing 
> any of the confs in /etc/defaults/, I created /etc/periodic.conf which 
> /etc/defaults/periodic.conf lists as a local override file.  I only put 
> the options for my script in /etc/periodic.conf and left everything else 
>   to run on the defaults.
> 
> problem is, now when the periodic jobs kick off, I keep getting "YES: 
> not found" listed in the log files that are mailed to me.

Your /etc/periodic.conf file is broken, and trying to run the YES
command. Without seeing the file, I can't say more.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15443.2496.918511.507772>