From owner-freebsd-stable@FreeBSD.ORG Thu Oct 9 11:30:43 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 E2D46106569F for ; Thu, 9 Oct 2008 11:30:43 +0000 (UTC) (envelope-from andrewd@webzone.net.au) Received: from smtp.webzone.net.au (smtp.webzone.net.au [210.8.36.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3CC8FC15 for ; Thu, 9 Oct 2008 11:30:43 +0000 (UTC) (envelope-from andrewd@webzone.net.au) Received: from ppp121-45-69-26.lns10.adl6.internode.on.net ([121.45.69.26] helo=[192.168.202.99]) by smtp.webzone.net.au with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KntZ1-000GNM-DQ; Thu, 09 Oct 2008 20:50:15 +0930 Message-ID: <48EDE8DC.8030108@webzone.net.au> Date: Thu, 09 Oct 2008 21:49:56 +1030 From: Andrew D User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Ian Smith , 'FreeBSD Stable' References: <884679.22561.qm@web110112.mail.gq1.yahoo.com> <48E75BB7.2060206@madpilot.net> <20081009145337.P16723@sola.nimnet.asn.au> In-Reply-To: <20081009145337.P16723@sola.nimnet.asn.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AUTH-WEBZONE: andrewd@webzone.net.au successfully authed as username:andrewd Cc: Subject: Re: sidetrack [was 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: Thu, 09 Oct 2008 11:30:44 -0000 Hi Ian, Ian Smith wrote: > On Wed, 8 Oct 2008, Peter Wemm wrote: > [..] > > My tolerance for hacking at(1) code was exceeded when I added hacks > > for 'at sunrise' and 'at sunset' support to a local version. It > > wasn't pretty, especially when handling things like '30 minutes before > > sunrise' etc. (I use this for home automation stuff) > > Peter, just curious .. from where do you pull the current sunrise/sunset > info for your location, and in what form? > In Australia, you get it from Geoscience Australia. http://www.ga.gov.au/geodesy/astro/sunrise.jsp Just need a few curl queries and then extract the required info from the html source :) HTH cya Andrew > cheers, Ian > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"