My ongoing experiences with Ubuntu, and later Mythbuntu, as a media center with MythTV. I'm also using the system for a virtual machine server, a mediawiki server and a general all around home infrastructure base.

Saturday, July 25, 2009

Another dyndns false alarm - put weekly force into place

I got another ddclient false alarm, where my daily cron job seems to lag just a day behind dyndns sending me an email warning.

This time I decided to add a cron job that does a forced update once a week to get rid of this race condition. Start my copying over the daily cron job:

# cp /etc/cron.daily/ddclient /etc/cron.weekly/


And then editing it to include '-force':
# vi /etc/cron.weekly/ddclient


End result looks like this:
#!/bin/sh
/usr/sbin/ddclient -syslog -force

No comments: