Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

VVEngine 2.2 - perform full recomparison if this...is true

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



Joined: 29 Jan 2015
Posts: 277

PostPosted: Fri Jan 11, 2019 9:19 am    Post subject: VVEngine 2.2 - perform full recomparison if this...is true Reply with quote

VVEngine 2.2 Server Premium Edition (Build 2200) with Server 2018r2

Hi, I am using 'File Monitoring' - 'Monitor Source and Run When File Changes Are Detected' with VVE 2.2, no issues there ie when changes are made to files a VV Profile is run for affected 'changed' folders only and all is well. However I would like to run a full recomparison when all the staff have gone home, so 8pm.

I set this option up '... perform full recomparison if this condition is true (optional): hour=20'

This should run if the time is within the hour of 8pm irrespective of whether there are changes to any files during that time ? If so it does not appear to do that, what it actually does is it runs a full recomparison the next time someone changes a file, so that may be at 6am the next day. Have I misunderstood something here ?
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8758

PostPosted: Fri Jan 11, 2019 10:46 pm    Post subject: Reply with quote

Hi, are there changes happening when hour=20, that is, is VVEngine starting the profile when hour=20 ?
The full comparison at 6am must be due to other things, what does the info on that run say?
thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Alice



Joined: 29 Jan 2015
Posts: 277

PostPosted: Sat Jan 12, 2019 6:41 am    Post subject: Reply with quote

Hi and thanks for the response.

Maybe if I ask the question in a different way it will help clarify.

How do I set up VVEgnine 2.2 to complete a full re-comparison once at 8pm ? Staff are not working at this time (as the offices are closed and there is no remote access) so there could be no 'user initiated' changes to the folders / files
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8758

PostPosted: Sun Jan 13, 2019 4:47 am    Post subject: Reply with quote

Hi, for that set the profile to run every 24h starting at 20:15 PM and set the full re-comparison condition to hour=20
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Alice



Joined: 29 Jan 2015
Posts: 277

PostPosted: Sun Jan 13, 2019 10:25 pm    Post subject: Reply with quote

I did as you advised setting the options :

1) 'Run Every X Hours : 24'

2) 'Start Time : 13/01/2019 20:00'

3) '... perform full recomparison if this condition is true (optional) : hour=20'

and it worked perfectly.


Thank you.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8758

PostPosted: Mon Jan 14, 2019 1:42 am    Post subject: Reply with quote

Cool Smile
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Alice



Joined: 29 Jan 2015
Posts: 277

PostPosted: Thu Jan 17, 2019 5:20 pm    Post subject: Reply with quote

So just to clarify for others using this approach / set of options...

the 20:00hrs full recomparison does indeed run once, taking 40mins (in my particular circumstances). Bear in mind that there could be no 'user initiated' changes to the folders / files at this time as it's outside Business hours and staff have no remote access

However if there are any 'user initiated' changes to the folders / files after that recomparison runs and they are made within the hour of 20:00 eg in my case I made changes (not the staff) to some folders / files and I did this at approx. 20:50hrs, another full recomparison would be triggered....taking another 40mins.

Is there any way to stop that 2nd recomparison (other than scheduling the full initial recomparision to start at say 20:30hrs when there would be no time left within that hour, once it completes, for it to run a second time...as it takes 40mins to run) ?
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8758

PostPosted: Thu Jan 17, 2019 11:33 pm    Post subject: Reply with quote

Hi, yes, there are more variables you can use in the condition. They are listed in the help file of VVEngine under "Conditions" -> "VARIABLES THAT ARE SPECIFIC TO THE 'PERFORM FULL RECOMPARISON' CONDITION"

I would use :

changes_detected_run = false
or
scheduled_run = true
and/or
elapsed_hours > 20 (The number of hours that have passed since the last full recomparison)
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Alice



Joined: 29 Jan 2015
Posts: 277

PostPosted: Thu Jan 17, 2019 11:51 pm    Post subject: Reply with quote

Ok thank you, that's really helpful.

I'll take a look and report back.
Back to top
Alice



Joined: 29 Jan 2015
Posts: 277

PostPosted: Sat Jan 19, 2019 10:12 pm    Post subject: Reply with quote

Once again, I did as you advised..…this time setting the options :

1) 'Run Every X Hours : 24'

2) 'Start Time : 18/01/2019 20:00'

3) '... perform full recomparison if this condition is true (optional) : hour=20 AND changes_detected_run = false'

all seems to work, ie if I make changes to the files/folders after the 20:00hrs recomparison has run and completed but still within the hour of 20:00, VVE treats these adjustments as 'Incremental' changes and does not run another full recomparison


Thank you (again) Very Happy
Back to top
Alice



Joined: 29 Jan 2015
Posts: 277

PostPosted: Wed Feb 27, 2019 11:58 am    Post subject: Reply with quote

Hello again.

So all's well with the above scheduling. Very impressed with VVEngine in this area Smile

Minor adjustment to what I have set up would be nice though.

There are three separate Profiles scheduled to run at 20:00hrs, 20:30hrs and 2!:00hrs for a 'Full Recomparison'. They run with 30 min gaps between them to allow each to finish before the next one starts. However they often finish ahead of their 30 minute 'window', is it possible to then bring forward the start time of the later scheduled Profiles if this occurs ?

I looked at the 'After This Profile, Run...' option, but does that work in the above scenario, eg if Profile 1 started at 20:00hrs, but finished at 20:10hrs then Profile 2 would automatically start at 20:11hrs even though it is scheduled not to start until 20:30hrs ? If it subsequently finished before 20:30hrs (its scheduled execution time), would it then run again at that scheduled time too...I guess if it did it would be fast as it's only just been run !?

Please bear in mind I am using 'File Monitoring' - 'Monitor Source and Run When File Changes Are Detected', so I don't want changes in one folder structure triggering a re-run of another Profile in the middle of a working day, as it's set with option 'After This Profile, Run...'
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8758

PostPosted: Fri Mar 01, 2019 6:09 am    Post subject: Reply with quote

Maybe using the condition Start only if this condition is true in the 'restrictions' of the VVEngine scheduling options you could set it to elapsed_minutes > 60 so it does not run if it has run already less than 60 minutes ago
_________________
--
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: