Skip to content

Instantly share code, notes, and snippets.

@jugglinmike
Forked from alunny/checkmc.sh
Last active December 21, 2015 12:39
#!/bin/bash
while true
do
curl -s http://shop.lenovo.com/us/en/laptops/thinkpad/t-series/ | grep -i "t440s"
if [ $? -ne 0 ]
then
echo "not found at `date`"
sleep 1800
else
say "T440s AVAILABLE"
exit 0
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment