Quantcast
Channel: Von's Ubuntu Experiences
Viewing all articles
Browse latest Browse all 25

Another dyndns false alarm - put weekly force into place

$
0
0
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

Viewing all articles
Browse latest Browse all 25

Trending Articles