Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th March 2006, 07:16
gjcomputer gjcomputer is offline
Member
 
Join Date: Jan 2006
Location: missouri, USA
Posts: 91
Thanks: 15
Thanked 2 Times in 2 Posts
Default PERL script help... 1 more question...

everything works great with ispconfig
i recently added an ip address to my modem so now my webserver has its own ip address but it is still dhcp... anyway
my DNS service is through EVERYDNS.net and they offer a perl script to update to there system if my ip changes. here is that script..
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. 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!
__________________
6r36.com

Last edited by gjcomputer; 14th March 2006 at 00:05.
Reply With Quote
Sponsored Links
  #2  
Old 13th March 2006, 11:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 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
  #3  
Old 14th March 2006, 00:05
gjcomputer gjcomputer is offline
Member
 
Join Date: Jan 2006
Location: missouri, USA
Posts: 91
Thanks: 15
Thanked 2 Times in 2 Posts
Default

thanks! that worked perfectly, now i feel dumb asking this part, but where do i put my variables for my username and password to this site? i looked in the code and tried a few places, and a few configurations, but nothing seems to work, im sure its something simple that im overlooking, thanks again
__________________
6r36.com
Reply With Quote
  #4  
Old 14th March 2006, 09:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

http://www.howtoforge.com/forums/showthread.php?t=3103
__________________
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
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script questions && Gentoo version hagel Feature Requests 4 7th May 2006 13:19
Suggestion: Use mySQL script for installation Dee General 1 17th February 2006 10:02
Internal Server Error 500 cgi script mphayesuk General 6 8th February 2006 22:53
DNS - call script to created named.conf entries on secondaries cstone Installation/Configuration 4 15th September 2005 01:16
Installing Perl modules fernando Installation/Configuration 1 10th May 2005 20:16


All times are GMT +2. The time now is 23:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.