MasterMG
31-May-2011, 06:58 PM
Hello,
Right now, I am spawning the following task from the Task Scheduler in Windows 7 on several machines at different sites.
"c:\Program Files\Beyond Compare 3\BComp.exe"@C:\CatalystScripts\SynciVaultNAS2iVaultHQ.txt
In effect, the script I wrote is syncing data across a VPN connection back to our HQ SAN.
It is working really well, however, the task even though I set it to kill after 12 hours, doesn't seem to close with the Windows Task settings...
Right now, I wrote a quick script that will KILL the process in the AM, however it just KILLS the BCOMPARE.EXE, and doesn't end the process cleanly.
I am wondering if there is any way to pass the BCompare.exe a command that would in effect, press the 'cancel' button, so that it would be able to close what it is doing, and write to the log file properly.
Thanks in advance.
Right now, I am spawning the following task from the Task Scheduler in Windows 7 on several machines at different sites.
"c:\Program Files\Beyond Compare 3\BComp.exe"@C:\CatalystScripts\SynciVaultNAS2iVaultHQ.txt
In effect, the script I wrote is syncing data across a VPN connection back to our HQ SAN.
It is working really well, however, the task even though I set it to kill after 12 hours, doesn't seem to close with the Windows Task settings...
Right now, I wrote a quick script that will KILL the process in the AM, however it just KILLS the BCOMPARE.EXE, and doesn't end the process cleanly.
I am wondering if there is any way to pass the BCompare.exe a command that would in effect, press the 'cancel' button, so that it would be able to close what it is doing, and write to the log file properly.
Thanks in advance.