Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Stop or pause profile via command line or vvengine?

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
keller



Joined: 15 Apr 2010
Posts: 3

PostPosted: Thu Apr 15, 2010 5:43 pm    Post subject: Stop or pause profile via command line or vvengine? Reply with quote

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

PostPosted: Sun Apr 18, 2010 12:25 pm    Post subject: Reply with quote

Hello

the VVConsole program that is included in VVEngine can stop a running profile.

thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
keller



Joined: 15 Apr 2010
Posts: 3

PostPosted: Mon Apr 19, 2010 6:09 pm    Post subject: Reply with quote

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

PostPosted: Mon Apr 19, 2010 8:44 pm    Post subject: Reply with quote

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

PostPosted: Mon Apr 19, 2010 9:19 pm    Post subject: Reply with quote

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

PostPosted: Mon Apr 19, 2010 9:35 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: