I have an old Windows 2000 PC running in the corner of my office, affectionately named Igor. I use Igor mostly to run scheduled events through out the day. So he's pretty much up 24/7. I thought it would be nice to know if Igor ever rebooted.
Did you know you can post to Twitter from the command line? If you have cURL you can. (Info via Download Squad)
Here's the command:
curl -u yourusername:yourpassword -d status="Your Message Here" http://twitter.com/statuses/update.xml
I put that command in a batch file and put it in the startup folder. Now when ever Igor is restarted, he posts a message to Twitter.
Now since I have more than one Twitter account to play with. (I have one for work too.) I'm actually able to add one more tweak to this trick, and send a direct message to myself via the work account. So the status message would read:
"d programwitch Igor has booted up"
Now I'll not only get a Twitter message from the website or Twhirl, but I'll get a SMS message and an e-mail letting me know Igor has rebooted. Oh and it's a bit more private that way since most of you don't really care that Igor rebooted ;-).
I thought this was a neat trick.
Did you know you can post to Twitter from the command line? If you have cURL you can. (Info via Download Squad)
Here's the command:
curl -u yourusername:yourpassword -d status="Your Message Here" http://twitter.com/statuses/update.xml
I put that command in a batch file and put it in the startup folder. Now when ever Igor is restarted, he posts a message to Twitter.
Now since I have more than one Twitter account to play with. (I have one for work too.) I'm actually able to add one more tweak to this trick, and send a direct message to myself via the work account. So the status message would read:
"d programwitch Igor has booted up"
Now I'll not only get a Twitter message from the website or Twhirl, but I'll get a SMS message and an e-mail letting me know Igor has rebooted. Oh and it's a bit more private that way since most of you don't really care that Igor rebooted ;-).
I thought this was a neat trick.

