Dear all, I hope everyone has been busy ;-)
Got another wee program that I would like to try and write. Problem: We have a ssh tunnel with a samba mount across it from one city to the other, if one city is unreachable, the tunnel needs to be brought back up and the mount remounted. Methodology: 1. Fork as a process? 2. Ping server and have a certain limit on response time? 3. No response, check mount. 4. Unmount. 5. Bring up ssh tunnel. 6. Remount. 7. Send an e-mail. Fair enough? Thanks for your time, Gavin. -- Just getting into the best language ever... Fancy a [EMAIL PROTECTED] or something on http://www.perl.me.uk Just ask!!! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>