From owner-freebsd-stable@FreeBSD.ORG Sat Oct 4 12:04:13 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 494991065698 for ; Sat, 4 Oct 2008 12:04:13 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from megatron.madpilot.net (megatron.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id E8F9F8FC18 for ; Sat, 4 Oct 2008 12:04:12 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from localhost (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP id B5726130C74; Sat, 4 Oct 2008 14:04:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at madpilot.net Received: from megatron.madpilot.net ([127.0.0.1]) by localhost (megatron.madpilot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MINi3ogH7n+o; Sat, 4 Oct 2008 14:04:08 +0200 (CEST) Received: from anakin.madpilot.net (anakin.madpilot.net [172.24.42.10]) by megatron.madpilot.net (Postfix) with ESMTP; Sat, 4 Oct 2008 14:04:08 +0200 (CEST) Message-ID: <48E75BB7.2060206@madpilot.net> Date: Sat, 04 Oct 2008 14:04:07 +0200 From: Guido Falsi User-Agent: Thunderbird 2.0.0.17 (X11/20080927) MIME-Version: 1.0 To: bsd24x7@yahoo.com References: <884679.22561.qm@web110112.mail.gq1.yahoo.com> In-Reply-To: <884679.22561.qm@web110112.mail.gq1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 'at now' not working as expected X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 12:04:13 -0000 Jeff Richards wrote: > When I try to schedule something immediately with an 'at now' command it appears to queue up but can wait multiple minutes before actually executing. > > Is there something I have missed with FreeBSD's version of at? I've used 'at now' with AIX, Linux, and OpenBSD and it immediately executes for those systems. > > I am running FreeBSD 7.0 stable. atrun is launched from crontab with a 5 minute granularity. So I think that at now can launch command with at most a 5 minutes delay. If this is a problem you can make atrun be launched every minute reconfiguring the crontab and you will wait at mosta one minute. This is explained in the at(1) man page. I don't know about other systems at setup. -- Guido Falsi