TimesToCome

Life in the flyover

How to check your ip number and email it to yourself using PERL

without comments

I have two older scripts for grabbing your ip and emailing it to you. Getip.pl and Getip2.pl And this week 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’ see bottom of the page }

Written by Linda MacPhee-Cobb

March 7th, 2007 at 6:00 am

Posted in Geekiness

Tagged with