Date: Wed, 6 Jun 2001 22:00:50 -0500 From: David Leimbach <dleimbac@earthlink.net> To: Roger Merritt <mcrogerm@stjohn.ac.th>, questions@freebsd.org Subject: Re: How to use "at" Message-ID: <20010606220049.A2275@mutt.home.net> 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 %2B0700 References: <3.0.6.32.20010607094221.007aaa50@stjohn.stjohn.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
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.. <it can be made to do stuff over and over again... cron is better for this> Anyway if you do "crontab -e" you will have the editor invoked from the EDITOR environment variable <if you didn't change it it will be vi> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010606220049.A2275>