Date: Sat, 9 Mar 2002 13:02:25 +1100 From: Edwin Groothuis <edwin@mavetju.org> To: Peter Leftwich <Hostmaster@Video2Video.Com> Cc: FreeBSD Questions <FreeBSD-Questions@FreeBSD.Org> Subject: Re: man at [2] Message-ID: <20020309130225.C26790@k7.mavetju.org> In-Reply-To: <20020308204853.A67650-100000@earl-grey.cloud9.net>; from Hostmaster@Video2Video.Com on Fri, Mar 08, 2002 at 08:52:03PM -0500 References: <20020308132748.A26790@k7.mavetju.org> <20020308204853.A67650-100000@earl-grey.cloud9.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020309130225.C26790>