View Single Post
Old 17th August 2005, 12:03
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts

Originally Posted by domino
I've search here and didn't find any hit that pertains to my question. So i'm sorry if this has been covered. I know this should be posted in the proper site, but I figured this post can be useful to other n00bs like myself.

How do I add the fallowing to cron every 15min?

wget -O - --http-user=username --http-passwd=password ""
I have webmin installed and I am in the cron section. I'm guessing I paste the code above in the "Input to command" box. But what do I type in the "Command" box? Should I run this job as root? What if I need to update 3 other domains? Do I create 3 other cron jobs?

Can anyone recomend a n00b friendly DNS client with gui? What about ez-ipupdate? I have the RPM version for RedHat, but will it work properly with Fedora?

I would solve it like this:

1) Write a small shell script that contains the code for the zoneupdates, lets call it, we store it for example in the /root folder.

Contents of /root/


wget -O - --http-user=username --http-passwd=password ""
In this shellscript you can add a line for each domain.

To make the script executable, run this comand:

chmod +x /root/
Now we add the cronjob. Run this command on the shell as root user to open the root crontab in an editor:

crontab -e
Then we insert this line at the end and save the file:

0,15,30,45 * * * * /root/ &> /dev/null
(This is untested and may contain errors )
Reply With Quote