From owner-freebsd-questions Fri Mar 8 18: 2:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 8109537B41D for ; Fri, 8 Mar 2002 18:02:32 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 9BDD62B673; Sat, 9 Mar 2002 03:02:29 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 408601E7; Sat, 9 Mar 2002 13:02:25 +1100 (EST) Date: Sat, 9 Mar 2002 13:02:25 +1100 From: Edwin Groothuis To: Peter Leftwich Cc: FreeBSD Questions Subject: Re: man at [2] Message-ID: <20020309130225.C26790@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , Peter Leftwich , FreeBSD Questions References: <20020308132748.A26790@k7.mavetju.org> <20020308204853.A67650-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020308204853.A67650-100000@earl-grey.cloud9.net>; from Hostmaster@Video2Video.Com on Fri, Mar 08, 2002 at 08:52:03PM -0500 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 On Fri, Mar 08, 2002 at 08:52:03PM -0500, Peter Leftwich wrote: > On Fri, 8 Mar 2002, Edwin Groothuis wrote: > > On Thu, Mar 07, 2002 at 06:16:01PM -0800, Peter Leftwich wrote: > > > Sorry for a tremendously simple question, but I'm pretty sure the manpages > > > don't cover this: Is it possible to use "at" or "cron[tab]" for a "a time X > > > minutes from now" rather than "HH:MM specific time?" For example, can you > > > put in your ~/.login file something like "at +15mins echo 'time to go'"...? > > Euh... man at tells this already: > > You can also give times like [now] + count time-units, where the time-units can be minutes, hours, days, weeks, months or years and you can tell at to run the job today by suf- fixing the time with today and to run the job tomorrow by suffixing the time with tomorrow. > > so... at -f /home/edwin/bin/blaat now + 1 minute > > For some reason I keep getting told "garbled time" or "incomplete time" > like when I tried: > $ at now + 5 seconds echo "you eeeeeediyutt" You still haven't read the man-page nor the lines I pasted. If you would have done, you would have seen that: - Your syntax for the at command is wrong. - That there is nowhere a mentioning of seconds in what I pasted, nor in the man-page. [... deleted monologue over wasting time ...] Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message