Re: ddclient cron job
On Tue, Mar 20, 2007 at 08:11:43AM +0000, Liam O'Toole wrote:
> 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).
> > >
> >
> > */10 * * * * root ddclient (args)
> >
>
> 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.
>
I changed it to thirty minutes. The reason I need it to update so
often is because my IP changes pretty often, I'd say 3~4 times per
day. I think that's why the ddclient daemon doesn't work for me; It
may not be updating the server enough, so I set a cronjob to take
care of that.
Reply to: