Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- COUNTER=0
- while true
- do
- if [ ! `pgrep google-chrome-bin` ] ; then
- echo -e '\nOh no, Google Chrome is not running! Restarting it now! \n\n'
- echo Google Chrome has been restarted $COUNTER times
- let COUNTER=COUNTER+1
- google-chrome --private YourUrlHere
- fi
- sleep 30
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement