View Single Post
  #2  
Old 13th March 2006, 11:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by gjcomputer
the problem is now that i dont know where to use the script, do i run a commant in linux, or do i put it on the site somewhere.
No, don't put it in a web site. This script must be run from the command line. You can put it into /usr/local/sbin, for example.

Quote:
Originally Posted by gjcomputer
and how can i set it up to run every 2 - 4 hours automatically (they say it can be done) i want everything to be automated. THANKS!
You can run it as a cron job. Run
Code:
crontab -e
as root, and then you enter
Code:
* */4 * * * /usr/local/sbin/eDNS.pl
Of course, the script must be executable:
Code:
chmod 755 /usr/local/sbin/eDNS.pl
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote