[Box Backup] How to use NotifyScript, SyncAllowScript on Windows

Chris Wilson boxbackup@fluffy.co.uk
Tue, 15 Aug 2006 22:26:03 +0100 (BST)


Hi Pete,

On Tue, 15 Aug 2006, E.W. Peter Jalajas wrote:

> Could anyone please help me use NotifyScript, SyncAllowScript on
> Windows?

How about a Perl script with Net::SMTP?

> Re SyncAllowScript, that should be easier, I suspect.  But I'm lazy,
> and only got this far for a simple untested batch file:
[...]
> So, does anyone out there have anything better (please say yes)?  This
> would be for using Box Backup 0.10 for Windows on laptops.

Your approach would probably work, but you might also try to check the 
output of "ipconfig" to check that the interface has media connected. 
Alternatively, a Perl script using Net::Ping could check the reachability 
of hosts.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |