Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Set time delay before synchronise - VVEngine

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



Joined: 09 Feb 2013
Posts: 9

PostPosted: Wed Mar 27, 2013 1:19 pm    Post subject: Set time delay before synchronise - VVEngine Reply with quote

What is the best way to set a time delay before synchronization where the trigger to run is based on file changes being detected.

Scenario
- New File is written in source
- VVengine is set to detect file changes
- Synchronise must only occur [1 minute] after detecting a file change.
Hopefully [time] before running synchronise can be set?
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8759

PostPosted: Wed Mar 27, 2013 11:59 pm    Post subject: Reply with quote

Yes, check "Main VVEngine Settings" in the VVEngine help.

You can set the amount of seconds of inactivity to wait, after the first file change is detected, before VVEngine starts a profile. You can also set the total maximum time to wait in seconds.

For example, the default values are 3 and 10, which means that VVEngine will look for a period of inactivity of 3 seconds before starting a profile, after the first file change is detected, but limited to a total maximum of 10 seconds. If after 10 seconds, there is no period of inactivity of 3 seconds, VVEngine will start the profile anyway.
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
SA_



Joined: 09 Feb 2013
Posts: 9

PostPosted: Thu Mar 28, 2013 4:19 am    Post subject: Reply with quote

Quote:
but limited to a total maximum of 10 seconds


This is a problem.
The files to be synchronised are created via a database query. Sometimes the query can run for more than 20 seconds. As a result the synchronise starts before the query write has completed.
This results in a conflict.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8759

PostPosted: Thu Mar 28, 2013 9:08 am    Post subject: Reply with quote

3 and 10 seconds are the default values, but you can changes them, see help file.
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
SA_



Joined: 09 Feb 2013
Posts: 9

PostPosted: Wed Apr 10, 2013 10:46 am    Post subject: Reply with quote

Changing the time delay does not appear to change the actual execution time.

Even if the delay is set to 29seconds (maximum wait time allowed), the profile runs immediately.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8759

PostPosted: Thu Apr 11, 2013 4:19 am    Post subject: Reply with quote

Hi , what values have you set for wait and for max wait ? Which version / build of VVEngine are you using? thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
SA_



Joined: 09 Feb 2013
Posts: 9

PostPosted: Thu Apr 11, 2013 10:28 am    Post subject: Reply with quote

Wait = 29
Max wait = 59
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8759

PostPosted: Fri Apr 12, 2013 4:50 am    Post subject: Reply with quote

Thanks, are you using the latest VVEngine version / build?
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
SA_



Joined: 09 Feb 2013
Posts: 9

PostPosted: Fri Apr 12, 2013 6:02 am    Post subject: Reply with quote

v2.1 Server Premium (Build 2102)
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8759

PostPosted: Fri Apr 12, 2013 12:46 pm    Post subject: Reply with quote

Thanks, can you please send the file VVEngine.log to support @ tgrmn .com? Please see the VVEngine help file for instructions on how to locate the log. thanks
_________________
--
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: