Author Topic: lolscripts  (Read 1631 times)

0 Members and 1 Guest are viewing this topic.

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 31697
  • who run it.
  • Respect: +7905
    • View Profile
    • Email
lolscripts
« on: April 30, 2013, 12:40:41 am »
0
Code: [Select]
#!/bin/sh

run() {
        while read line; do
                echo "WGETTING: " $line
                wget -T 2 -t 1 -O /dev/null $line
                ping -c 1 $line
                sleep 2
        done < parsed.txt
}


while true; do
        run
        sleep 5
done