Skip to content

Instantly share code, notes, and snippets.

@dipack95
Last active December 23, 2015 06:29
Show Gist options
  • Save dipack95/e970a3cbc7c108aba2ef to your computer and use it in GitHub Desktop.
Save dipack95/e970a3cbc7c108aba2ef to your computer and use it in GitHub Desktop.
:: Meant to be used along with Cygwin, on Windows.
:: Place this in '.bat' file, and drop it in the 'Startup' folder on Windows to get this to run at startup.
bash --login -c "curl -s \"http://ipv6-test.com/api/myip.php\" | email -s \"External IP Address\" email_address@email.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment