Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 03:31:12 -0600
From:      Mike Meyer <mwm-dated-1016962272.5a5419@mired.org>
To:        "Lee Mark Mercado" <mercadolee@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: daily routine in /usr/local/etc/periodic/daily
Message-ID:  <15511.1376.184002.422094@guru.mired.org>
In-Reply-To: <F141d1eQXOFZgu3Ubor00014d8b@hotmail.com>
References:  <F141d1eQXOFZgu3Ubor00014d8b@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In <F141d1eQXOFZgu3Ubor00014d8b@hotmail.com>, Lee Mark Mercado <mercadolee@hotmail.com> typed:
> i have this file to run every night, so i put it in 
> /usr/local/etc/periodic/daily ... isnt it that the cron should run it also 
> the way it runs /etc/periodic/daily files ?

Yes. Make sure the file name has the proper format of a 3-digit
number, dot, then the name and that it's executable.

> the file is csvupfile that updates the ports collection. Also, how will i 
> know if the cron did run the file and updated the ports collection ?

By what it outputs. Unless you redirect it, the output will show up in
the output of the daily periodic run.

	<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?15511.1376.184002.422094>