Author |
Message |
keller
Joined: 15 Apr 2010 Posts: 3
|
Posted: Thu Apr 15, 2010 5:43 pm Post subject: Stop or pause profile via command line or vvengine? |
|
|
Can one stop or pause a running job via the command line or vvengine?
Once in awhile a user will add or move a lot of data at once, meaning a sudden surge in the amount of data to be copied over a slow link overnight. The job keeps running during work hours the next day, causing performance issues. I was hoping to make a scheduled task or something to stop or pause the job if it is still running, every day at the start of business. I don't see how to do it via vvengine or the ViceVersa.exe command line options. I could always scheudle the built-in taskkill, but would prefer to have the summary lines at the end of a properly closed log file. Any suggestions?
Thanks- _________________ Steve |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
|
Back to top |
|
|
keller
Joined: 15 Apr 2010 Posts: 3
|
Posted: Mon Apr 19, 2010 6:09 pm Post subject: |
|
|
Thanks. I see one can run vvconsole, then run "stop all" or something similar, but I don't see any way to pass the specific command to vvconsole.exe in a batch file that I can schedule. Is there a way to do this? If so, could you show an example or point me to some documentation? Thanks for your help! _________________ Steve |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Mon Apr 19, 2010 8:44 pm Post subject: |
|
|
VVConsole is undocumented currently, but you can do a
vvconsole.exe -n ""stop all""" from the command line
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
keller
Joined: 15 Apr 2010 Posts: 3
|
Posted: Mon Apr 19, 2010 9:19 pm Post subject: |
|
|
Hey, I'm afraid that's not working on my system. I get:
C:\Program Files\VVEngine\serv>vvconsole.exe -n ""stop all""
Command line flag found: -n
VVConsole ver 1.1
This is a console program designed to run from a command window.
This computer is named "COMPUTERNAME"
INI file 'C:\Program Files\VVEngine\serv\VVConsole.ini' not present/not loaded.
:>
I've tried a few variations with different numbers of quotes in different places. _________________ Steve |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Mon Apr 19, 2010 9:35 pm Post subject: |
|
|
Sorry, try this
vvconsole.exe -n "-c:stop all|q"
| separates multiple commands
q is to exit vvconsole
use
vvconsole.exe -n "-c:stop all"
to "See" what happens without closing VVConsole automatically _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|