Raspberry Pi script: run couple of command line if not able to ping IP? -
i need reconnect vpn if had disconnected. suggest following simple script
beging: while (ping xxx.xxx.xxx.xxx == successfull) { sleep (10 sec) } sudo pop <server> go to: begining
i considering node.js, maybe there better way ?
a cron job bash script seem reasonable.
Comments
Post a Comment