#!/bin/bash

URL=$1
MSG='Moooo'

wget $URL -O /tmp/original

while true; do
    wget $URL -O /tmp/new --user-agent="Hiperszuper-eredmenyfigyelo-script"
    diff -i -b -B -q /tmp/original /tmp/new
    if [ ! $? -eq 0 ]; then
        figlet $MSG|cowsay -n|xmessage -file - -center
        exit
    fi
	sleep 50
done

Add a script for watching website changes
Add a script for watching website changes
