[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ddclient cron job



On Mon, 19 Mar 2007 19:59:18 -0400
Michael Pobega <pobega@gmail.com> wrote:

> On Mon, Mar 19, 2007 at 10:31:07PM +0000, Liam O'Toole wrote:
> > On Mon, 19 Mar 2007 17:37:29 -0400
> > Michael Pobega <pobega@gmail.com> wrote:
> > 
> > > I'm trying to get ddclient to run as a cronjob [...]
> > > 
> > 
> > Just invoke ddclient from a script in one of the directories
> > mentioned in /etc/crontab. Your script will run regardless of which
> > users are logged in (or not).
> > 
> 
> Thanks for the pointer, I think that worked out well. I set the line
> as:
> 
> */10 *	* * *	root	ddclient (args)
> 
> Is that all I'll need to do to have ddclient update my IP
> automatically every 10 minutes? (Besides the command not working of
> course, since I've tested it out already)
> 
> 

That will work. But an interval of 10 minutes is way too short. You
only need to run ddclient when your IP address changes or after 30
days, whichever comes sooner. In the latter case you would run it with
the '-force' option to renew your subscription with dyndns.org.

-- 

Liam



Reply to: