The PSList utility ( http://technet.microsoft.com/en-gb/sysinternals/bb896682) can get a list of running processes, on local or remote systems (if remote admin options enabled), so it should be possible to use this in a batch file to check if the AutoImporter process is running on your remote machine. If it fails, because process is not running or system has frozen and you can not connect then run the software on the local machine. Does the 'standard' Myriad licence enable you to run more than one copy of Autoimporter? Is this just 'belt and braces' to cover potenital failure, or is autoimporter running on a machine that does other things as well, which may be subject to accidental user 'shutdown'? In which case you could consider building Wake-on-Lan functionality to power up the machine is it is incorrectly shutdown.
-- Myriad user since 1998, now custodian of dozens of Myriad,Autotrack, Powerlog and Scoop boxes of many different flavours. http://www.philedmonds.com
|