From owner-freebsd-newbies@FreeBSD.ORG Sun Sep 19 18:07:26 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9DC216A4CE for ; Sun, 19 Sep 2004 18:07:26 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id A299443D3F for ; Sun, 19 Sep 2004 18:07:26 +0000 (GMT) (envelope-from tomjoyce@gmail.com) Received: by mproxy.gmail.com with SMTP id v30so1295154rnb for ; Sun, 19 Sep 2004 11:07:26 -0700 (PDT) Received: by 10.38.179.69 with SMTP id b69mr7241rnf; Sun, 19 Sep 2004 11:07:26 -0700 (PDT) Received: by 10.38.179.57 with HTTP; Sun, 19 Sep 2004 11:07:26 -0700 (PDT) Message-ID: <67f3d615040919110752967822@mail.gmail.com> Date: Sun, 19 Sep 2004 14:07:26 -0400 From: Tom Joyce To: Benjamin Sobotta In-Reply-To: <200409192014.33009.mayday@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <5c389d3b040919104228593a14@mail.gmail.com> <67f3d6150409191055645dead2@mail.gmail.com> <200409192014.33009.mayday@gmx.net> cc: freebsd-newbies@freebsd.org Subject: Re: can someone explain crontab to me better? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tom Joyce List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2004 18:07:27 -0000 Yes, I am sorry for that, I had not gotten your reply when I wrote and sent mine. :-) thanks. Thanks again, Tom Joyce tomjoyce@gmail.com On Sun, 19 Sep 2004 20:14:33 +0000, Benjamin Sobotta wrote: > hi again > > I'm not quite sure but I think your command > > * */2 * * * root /usr/libexec/locate.updatedb > > would make it run every minute every second hour. > > > > On Sunday 19 September 2004 17:55, Tom Joyce wrote: > > I believe that you would simply set 2 hours, as in: > > > > * */2 * * * root /usr/libexec/locate.updatedb > > > > That would run the script in /usr/libexec/ called "locate.updatedb" > > every 2 hours, taking as long as it needs to. > > > > Please correct me if anyone knows more about it than I do. > > Thanks... > > > > On Sun, 19 Sep 2004 13:42:36 -0400, robg wrote: > > > hi, > > > > > > i am having a hard time understanding crontab after reading > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-cr > > >on.html .. i still can't understand the minutes/hours... > > > > > > when you specify minutes, does it mean the command is run every X > > > minutes? and if you specify a hour AND minutes, the command is run > > > every X hours for X minutes? so if i did > > > > > > */5 */2 * * * root /usr/libexec/locate.updatedb > > > > > > it would run that command every two hours for 5 minutes? so when two > > > hours comes around, itll keep running that command over and over for 5 > > > minutes? or will it run that command once every 5 minutes for two > > > hours? im confused > > > > > > i just want to know the syntax to run something every 2 hours once .. > > > can someone clarify this > > > > > > thanks > > > > > > -- > > > robg > > > robg.list@gmail.com > > > _______________________________________________ > > > freebsd-newbies@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > > > To unsubscribe, send any mail to > > > "freebsd-newbies-unsubscribe@freebsd.org" > -- Thomas Joyce tomjoyce@gmail.com ceo@jafwebdesign.com