Archive for the 'Perl' Category

Get Ip address

August 8th, 2008 by Daniel Høyer Iversen

If you have a server with a dynamical ip address. You can use this script to get the ip address to your mail box. Maybe you have to change the smtp-server to your ISP’s smtp-server. Run “sudo crontab -e” and add “00  *    *     *     *   ~/scripts/ip” to get an email every hour.

Continue reading ‘Get Ip address’