Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

VVEngine 2.2 - Disable ALL, then ENABLE ALL via VVConsole

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



Joined: 29 Jan 2015
Posts: 262

PostPosted: Wed Apr 03, 2019 10:12 pm    Post subject: VVEngine 2.2 - Disable ALL, then ENABLE ALL via VVConsole Reply with quote

Trying to write a batch file to 'Disable all' VVE Profiles, then 'Enable all' before.....QUITing VVConsoie :

Quote:
cd C:\Program Files (x86)\VVEngine\serv
VVConsole "-c:DISABLE ALL|ENABLE ALL|QUIT"


^ this is wrong, but why I wonder ?!

Any help appreciated Smile
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8684

PostPosted: Fri Apr 05, 2019 4:54 am    Post subject: Reply with quote

Do you get an error?
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Alice



Joined: 29 Jan 2015
Posts: 262

PostPosted: Fri Apr 05, 2019 9:44 am    Post subject: Reply with quote

Hello there.

Ok, so I simplified the file ie took out the 'Quit' command and this is the screen output from VVE Console when run (Windows Server 2008 R2 Standard SP1):

Quote:
C:\Program Files (x86)\VVEngine\serv>VVConsole "-c:DISABLE ALL|ENABLE ALL"
VVConsole 1.3.1
This computer is named "XYZ-01"

Command line flag found: -c:DISABLE ALL|ENABLE ALL

Type HELP for list of available VVEngine commands and options.


:> DISABLE ALL
Sending : DISABLE ALL
Received : Disabling All...

:> ENABLE ALL
VVEngine not running ...

:>


does that help ? btw VVEngine 2.2 is running, I see the jobs change to 'Disabled' in VVE, but obviously they never re-enable...
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8684

PostPosted: Sat Apr 06, 2019 12:50 am    Post subject: Reply with quote

thanks, I think it might be a timing issue...
Try a pause between disabling and re-enabling.


VVConsole "-c:DISABLE ALL|PAUSE 10|ENABLE ALL"
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Alice



Joined: 29 Jan 2015
Posts: 262

PostPosted: Sat Apr 06, 2019 7:33 am    Post subject: Reply with quote

Yes thank you, that worked perfectly.

My final working batch file is as follows :
Quote:
cd C:\Program Files (x86)\VVEngine\serv
VVConsole "-c:DISABLE ALL|PAUSE 10|ENABLE ALL|QUIT"

One again, thank you for your help.
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: