From owner-freebsd-questions Wed Jun 6 20: 0: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id BC9CB37B406 for ; Wed, 6 Jun 2001 19:59:57 -0700 (PDT) (envelope-from dleimbac@earthlink.net) Received: from mutt.home.net (1Cust205.tnt1.starkville.ms.da.uu.net [63.30.107.205]) by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id TAA19983; Wed, 6 Jun 2001 19:59:55 -0700 (PDT) Received: (from dave@localhost) by mutt.home.net (8.11.3/8.11.3) id f5730od02403; Wed, 6 Jun 2001 22:00:50 -0500 (CDT) (envelope-from dave) Date: Wed, 6 Jun 2001 22:00:50 -0500 From: David Leimbach To: Roger Merritt , questions@freebsd.org Subject: Re: How to use "at" Message-ID: <20010606220049.A2275@mutt.home.net> References: <3.0.6.32.20010607094221.007aaa50@stjohn.stjohn.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3.0.6.32.20010607094221.007aaa50@stjohn.stjohn.ac.th>; from mcrogerm@stjohn.ac.th on Thu, Jun 07, 2001 at 09:42:21AM +0700 X-Operating-System: FreeBSD mutt.home.net 4.3-RELEASE FreeBSD 4.3-RELEASE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG type "at 8:00am Sunday" hit return enter in what you want to do at that time. "cvsup -g -L 2..." press ctrl-d when you are done and voila you have an at task scheduled use atq to list them. I would recommend you use cron instead... At is only good really for one time jobs.. Anyway if you do "crontab -e" you will have the editor invoked from the EDITOR environment variable the format of a cron entry is easy its : minute-of-hour[0-59] hour-of-day[0-23] day-of-month[1-31] month-of-year[1-12] day-of-week[0-6] wildcards are acceptable so if you want something to run every Sunday at 8:00 AM do the following: 0 8 * * 0 command-to-run Dave On Thu, Jun 07, 2001 at 09:42:21AM +0700, Roger Merritt wrote: > Back when FreeBSD 4.3-RELEASE was due out, it occurred to me that it might > be nice to have cvsup run on Sunday, after the RELEASE was committed. I > don't want to put cvsup in my crontab, although it might be a Good Thing, > and somebody had mentioned the program "at" in my hearing. > > Unfortunately, I can't figure out from the man page what command line to > enter. Do I have to put "cvsup -g -L 2 ..." in a file and use 'at -f > filename 8:00am Sunday'? Or is there some more intuitive way, like 'cvsup > -g -L 2 ... at 8:00am Sunday'? > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message