Skip to content

Instantly share code, notes, and snippets.

@frantzmiccoli
frantzmiccoli / check-ovh-sold-out.sh
Last active December 29, 2015 13:09
OVH Sold Out helper. A 2 cents bash script to help you monitor when OVH sold-out will finally end. It works on Mac OSX Mountain Lion, it needs to be tested/adapted for other OS.
#!/bin/bash --
# To use it
# watch -n 15 check-ovh-sold-out.sh
if r=`curl http://www.ovh.com/fr/serveurs_dedies/|grep mSP|grep -s -m 1 "Sold Out"`
then
echo "Found this wonderful sold out message!"
else
message="OVH is back in business"