Advertisement
Guest User

ok

a guest
Jan 1st, 2016
475
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #!/bin/bash
  2. COUNTER=0
  3. while true
  4. do
  5. if [ ! `pgrep google-chrome-bin` ] ; then
  6. echo -e '\nOh no, Google Chrome is not running! Restarting it now! \n\n'
  7. echo Google Chrome has been restarted $COUNTER times
  8. let COUNTER=COUNTER+1
  9. google-chrome --private YourUrlHere
  10. fi
  11. sleep 30
  12. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement