Advertisement
nuit

Untitled

Feb 12th, 2012
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1. #!/bin/bash
  2. url=""
  3. while [ 1 ]; do
  4.     curl -s "$url" > tmp2
  5.     if ! diff tmp1 tmp2>/dev/null; then
  6.         echo "@name Deine Seite hat sich veraendert. ${url}" | ttytter -script;
  7.         cat tmp2 > tmp1
  8.     fi 
  9.     sleep 3600
  10. done;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement