Author |
Message |
SA_
Joined: 09 Feb 2013 Posts: 9
|
Posted: Wed Mar 27, 2013 1:19 pm Post subject: Set time delay before synchronise - VVEngine |
|
|
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
|
Posted: Wed Mar 27, 2013 11:59 pm Post subject: |
|
|
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
|
Posted: Thu Mar 28, 2013 4:19 am Post subject: |
|
|
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
|
|
Back to top |
|
|
SA_
Joined: 09 Feb 2013 Posts: 9
|
Posted: Wed Apr 10, 2013 10:46 am Post subject: |
|
|
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
|
Posted: Thu Apr 11, 2013 4:19 am Post subject: |
|
|
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
|
Posted: Thu Apr 11, 2013 10:28 am Post subject: |
|
|
Wait = 29
Max wait = 59 |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
|
Back to top |
|
|
SA_
Joined: 09 Feb 2013 Posts: 9
|
Posted: Fri Apr 12, 2013 6:02 am Post subject: |
|
|
v2.1 Server Premium (Build 2102) |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Fri Apr 12, 2013 12:46 pm Post subject: |
|
|
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 |
|
|
|