commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
I have a custmer's Geovision DVR installed on a closed proxi (only logme-in reaches it).
I have to check for reliability but logmein hangs and is too slow a process
I made the Geovision software send e-mail every minute to the www.spam.la site.
All this script does is to retrieve the e-mail header from spam.la ( no login!), filtering sender, stopping at the first occurrence of the word "secs" ( the age of the last e-mail ).
The result is the age of the sender's last e-mail, tiny published on top of my screen once a minute.
I can refresh www.spam.la via web browser, but have other things to do.
I use it inside Kalarm ( kde task schedule ) set to 1 minute repeat.
It can be done without kalarm, using Watch outside the script.
Try it out now using my account = geo1 ( change sender by geo1 in this script)
Needs curl , osd-bin
If you can do better, submit your command here.
You must be signed in to comment.