From owner-freebsd-questions Sat Jun 24 19:44:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from eagle.prod.itd.earthlink.net (eagle.prod.itd.earthlink.net [207.217.120.24]) by hub.freebsd.org (Postfix) with ESMTP id 5719E37B6A1 for ; Sat, 24 Jun 2000 19:44:34 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0806.cvx20-bradley.dialup.earthlink.net [209.179.253.41]) by eagle.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id TAA00522; Sat, 24 Jun 2000 19:44:31 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id TAA00606; Sat, 24 Jun 2000 19:43:05 -0700 (PDT) Date: Sat, 24 Jun 2000 19:42:34 -0700 From: "Crist J. Clark" To: Peter Dilley Cc: questions@FreeBSD.ORG Subject: Re: Crontab Format questions Message-ID: <20000624194234.A535@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <20000625021042.86553.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000625021042.86553.qmail@hotmail.com>; from petermct@hotmail.com on Sat, Jun 24, 2000 at 07:10:42PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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