SMS Warner
Ho scritto un piccolo script che permette di essere avvisati quando una pagina cambia. E’ molto rudimentale ma il suo lavoro lo fa. Critiche e commenti sono i benvenuti.
#!/bin/sh
# AutoSarca - A SMS warner of changes on a page
#
# Copyright (C) 2006 Luca Bedogni
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Instructions:
# Set URL to the url of the page you want to monitorate
# Set NAME to the name of the file do download
# Set NUMBER to your telephone number
URL=xxxxxxxxxxxx
NAME=xxxxxxxxxx
NUMBER=xxxxxxxx
if
then
echo "First execution.."
echo "Creating basefile orig.txt"
wget $URL
md5sum $NAME > orig.txt
rm $NAME
exit
fi
echo "Control...."
wget $URL
md5sum $NAME > new.txt
rm $NAME
diff new.txt orig.txt > /dev/null
if
then
tinsms $NUMBER "YourMessage"
fi
rm new.txt




Can anyone recommend me?
I need an free sms service for my homepage.
I am seeking one with the option to change the design(for a bit).
Thanks a million!