Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xdotool search --name chromium key --clearmodifiers ${RELOAD}
- #!/bin/bash
- a=0
- RELOAD="CTRL+R"
- while (true)
- do
- wget -q --spider http://google.com
- if [ $? == $a ]; then
- ps cax | grep chromium
- if [ $? == $a ]; then
- echo "chrome running"
- else
- echo "chrome starting"
- /home/pi/Desktop/APPLICATION_CALENDAR.SH &
- fi
- echo $? $a
- echo "online1"
- xdotool search --name chromium key --clearmodifiers ${RELOAD}
- else
- echo "offline"
- sleep 15s
- fi
- sleep 20s
- done
- curl http://example.com
- watch -n60 curl http://example.com
- 5 * * * * /usr/bin/curl http://example.com > /dev/null 2>&1
- curl --data='username=myuser&myemail=myemail@provider.tld' http://example.com
- curl -c ~/cookiejar --data='login=mylog&pass=mypass' http://example.com/login.php
- curl -c ~/cookiejar http://example.com/private.php
- $ curl -c ~/cookiejar --data='login=mylogin&pass=mypass' https://example.com/login.php
- $ curl -c ~/cookiejar https://example.com/private.php
- $ curl -c ~/cookiejar https://example.com/logout.php
- $ rm ~/cookiejar
Add Comment
Please, Sign In to add comment