From owner-freebsd-questions Thu Mar 7 18:28:20 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 364FC37B417 for ; Thu, 7 Mar 2002 18:28:02 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 9597C2B673; Fri, 8 Mar 2002 03:27:59 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 297F736B; Fri, 8 Mar 2002 13:27:48 +1100 (EST) Date: Fri, 8 Mar 2002 13:27:48 +1100 From: Edwin Groothuis To: Peter Leftwich Cc: FreeBSD Questions Subject: Re: man at Message-ID: <20020308132748.A26790@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , Peter Leftwich , FreeBSD Questions References: <20020307180719.A510-100000@66-75-1-142.san.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020307180719.A510-100000@66-75-1-142.san.rr.com>; from Hostmaster@Video2Video.Com on Thu, Mar 07, 2002 at 06:16:01PM -0800 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 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 Keep in mind that at is only checked each 5 minutes (see /etc/crontab) 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