Herself's Webtools

Scripts, HowTos, Templates, Plugins, Widgets, Tips

PERL script to fetch your IP and email it to yourself

without comments

I have two older scripts for grabbing your ip and emailing it to you. Getip.pl and Getip2.pl And today I put together Getip3.pl

The first script is the bare minimum needed and works on Linux. Just change it to put in your email address and run it as a cron job. 

The second script works on Windows or Linux and is more robust than the first one. Again change the email information and then run it as a cron script under Linux or in the Windows scheduler if you are running Windows. 

The third script works on OSX. Change the email to and from addresses. Install it as a cron job to have it run automatically on your computer. (MacDevCenter Cron job how to is at bottom of the page )

Written by Linda MacPhee-Cobb

March 6th, 2007 at 12:00 pm

Posted in how to,linux,osx,perl,tools

Leave a Reply

You must be logged in to post a comment.