From owner-freebsd-hackers Sat Jul 28 6:31: 5 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (unknown [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id B45DA37B403 for ; Sat, 28 Jul 2001 06:30:39 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 4459 invoked by uid 1000); 28 Jul 2001 13:22:20 -0000 Date: Sat, 28 Jul 2001 16:22:20 +0300 From: Peter Pentchev To: hackers@FreeBSD.org Subject: Re: perhaps one of phk's "intern" projects? Message-ID: <20010728162220.B1249@ringworld.oblivion.bg> Mail-Followup-To: hackers@FreeBSD.org References: <20010727164935.H23159@mail.webmonster.de> <200107271458.f6REwtn04285@whizzo.transsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200107271458.f6REwtn04285@whizzo.transsys.com>; from louie@TransSys.COM on Fri, Jul 27, 2001 at 10:58:55AM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jul 27, 2001 at 10:58:55AM -0400, Louis A. Mamakos wrote: > > Matthew Emmerton(matt@gsicomp.on.ca)@2001.07.26 16:50:52 +0000: > > > On Thu, 26 Jul 2001, Matthew Jacob wrote: > > > > > > > It'd be nice if one could pass a time specification to at in the form of "next > > > > reboot". > > > > > > > > -matt > > > > > > > > > > Why not just write a script for the command and stick it in > > > /usr/local/etc/rc.d? > > > > because a uid != 0 won't write a startup file there, won't he? ;-) > > Of course, he could use the crontab(1) command, and install an > entry with a time of '@reboot'. > > RTFM: man 1 crontab > man 5 crontab > > Sure, this starts something on *every* reboot, but that's the same > as if you installed someting in /usr/local/etc/rc.d [CC list trimmed viciously] So cron allows a @reboot specification, but at(1) (which is invoked by cron, btw - but that's an implementation detail) does not? This seems like lack of parallelism.. IMHO, there's nothing wrong in adding that functionality to at(1). If people don't like it, they won't use it :) G'luck, Peter -- This sentence was in the past tense. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message