PERL script help... simple issue i think

Discussion in 'General' started by gjcomputer, Mar 13, 2006.

  1. gjcomputer

    gjcomputer ISPConfig Developer ISPConfig Developer

    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!
     
    Last edited: Mar 14, 2006
  2. falko

    falko Super Moderator ISPConfig Developer

    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.

    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
     
  3. gjcomputer

    gjcomputer ISPConfig Developer ISPConfig Developer

    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
     
  4. falko

    falko Super Moderator ISPConfig Developer

Share This Page