On Dec 16, 2010, at 6:08 AM, LuKreme wrote:

> 
> On 14-Dec-2010, at 13:41, Levan, Jerry wrote:
> 
>> I am executing this file every 10 minutes with a cron table entry:
>> 0-59/10 *       *       *       *       /usr/local/bin/checkip.sh
> 
> You probably don't care,

lotf

> but crontab is officially deprecated and the proper (and far more flexible) 
> way to do this is to use a LaunchAgent or LaunchDaemon. Very easy to setup 
> with Lingon, and it gives rather a lot more options that simply every 10 
> minutes. I suspect there is a better way to see if the external IP address 
> has changed, but mine changes every year to 18 months, so I don't care.

Yeah, if you use the dyndns support already built into the router he's using it 
notes to check when the DHCP lease gets renewed. It doesn't have to poll at 
all. 

-d

------------------------------------------------------------------------
Dan Shoop
[email protected]
GoogleVoice: 1-646-402-5293
aim: iWiring
twitter: @colonelmode



_______________________________________________
MacOSX-admin mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-admin

Reply via email to