PDA

View Full Version : Dyndns cronjob


tamenti
04-05-2002, 06:23 AM
Im trying to set up a cronjob to take care of updating my dyndns.dk account.
On their website they say I should set up a cronjob calling an URL like this: http://dyndns.dk/opdat.php?name=myAccount&domain=dyndns.dk&pw=password&silent=1
But, alas, I cant get curl to do it. I tried -F and -d for the info but each time curl just do nothing, and my account is un-updated.

Ive tried commands like this : curl -d name=myAccount -d domain=dyndns.dk -d pw=myPassword -d silent=1 http://dyndns.dk/opdat.php

What am I doing wrong??

Tamen.

buc40
04-06-2002, 08:55 PM
I'm not sure how to help you with this one. But, goto www.ods.org and give them a try. They have a terminal command called odsclient, or something like that. It can run in the background easily. I run it as a crontab every 30 minutes to update my site's address. Best of all, it's free. their update client is opensource also, so you may be able to figure out how their update client works and apply it to your needs.

Good Luck.:)
SA