Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2000 19:42:34 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Peter Dilley <petermct@hotmail.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Crontab Format questions
Message-ID:  <20000624194234.A535@dialin-client.earthlink.net>
In-Reply-To: <20000625021042.86553.qmail@hotmail.com>; from petermct@hotmail.com on Sat, Jun 24, 2000 at 07:10:42PM -0700
References:  <20000625021042.86553.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 24, 2000 at 07:10:42PM -0700, Peter Dilley wrote:
[snip]

> I got two suggestions given to me so far.
> 
> One - Run the dyndns update with cron twice a month. Problem is it may 
> trigger frequent update abuse on dyndns service and disable the account 
> (pretty  sad isn't it).

To run something twice a month, the crontab entry would look like,

	#min	hour	daym	month	dayw	command	 
	10	3	1,16	*	*	your_command

That is, pick your time on the day and specify the two days of the
month.

> Two - Run a script once a day that checks a files datestamp.

crontab(1) is the better option.

[snip]

> Yeah I check the man pages (both of them) didn't learn much. Thought to run 
> hourly I go to the hour section and put */24 (all hours devide by 24) 

Really? How you figure?

> nope 
> didn't work.. Turns out it was a 0 in the minute section of crontab. 
> Apparently that fires off every hour when the minute = zero.

Yep. Try any minute.
-- 
Crist J. Clark                           cjclark@alum.mit.edu


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?20000624194234.A535>