Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Oct 2008 14:04:07 +0200
From:      Guido Falsi <mad@madpilot.net>
To:        bsd24x7@yahoo.com
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 'at now' not working as expected
Message-ID:  <48E75BB7.2060206@madpilot.net>
In-Reply-To: <884679.22561.qm@web110112.mail.gq1.yahoo.com>
References:  <884679.22561.qm@web110112.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mad@madpilot.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48E75BB7.2060206>