Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Display the progress of a 'Run Scripts after execution' .BAT

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



Joined: 29 Jan 2015
Posts: 262

PostPosted: Wed Feb 07, 2018 10:23 pm    Post subject: Display the progress of a 'Run Scripts after execution' .BAT Reply with quote

ViceVersa Pro 2.5 - Build 2519 - (64-bit)

Hi,

I run a VV Mirror Job each night to update a backup copy of 'live' data. At the end of this Job a DOS Batch file is called via 'Run Scripts after execution' to 'zip' all the files in the 'Destination' so I have a 'static' dated copy of that 'data-set' before the VV Job runs the next night and the process is repeated.

That all works, but I'd like to show the DOS Batch File 'zip' progress as it runs...is that possible ? At the moment VV just displays an hourglass as the Batch File runs with no other indication that the file execution is 'in progress' (which takes a couple of hours as there are 500,000+ files)...


Thank you.



Alice
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8684

PostPosted: Thu Feb 08, 2018 10:34 pm    Post subject: Reply with quote

Are you running the ViceVersa profile via VVEngine , VVScheduler or other? thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Alice



Joined: 29 Jan 2015
Posts: 262

PostPosted: Fri Feb 09, 2018 10:21 am    Post subject: Reply with quote

Hi.

run direct via a VV Profile using ViceVersa Pro 2.5 - Build 2519 - (64-bit) Smile


thanks



Alice
Back to top
Guest






PostPosted: Fri Feb 09, 2018 11:22 am    Post subject: Reply with quote

Alice wrote:
Hi.

it runs direct via a VV Profile using ViceVersa Pro 2.5 - Build 2519 - (64-bit) Smile


thanks



Alice
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8684

PostPosted: Mon Feb 12, 2018 1:07 am    Post subject: Reply with quote

Hi Alice,

thanks, the output from the script is redirected to the log file, and the ViceVersa output window. But does the zipping tool you are use produce any output?

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



Joined: 29 Jan 2015
Posts: 262

PostPosted: Mon Feb 12, 2018 7:54 am    Post subject: Reply with quote

Hi and thanks for your answer.

I'm just using 7-Zip from the command line, so if I run the .BAT with the 7-Zip instruction in it from a DOS box it presents stats for ‘overall percentage complete’ / no. of files processed and shows which file it’s currently ‘zipping’.

When the .BAT file is run from a VV Profile all I am presented with is a 'blue rotating circle' ie an hourglass equivalent, it would be handy if it opened the same DOS box, showing the progress, then closed it when the zipping process completed. There’s a lot of files and even though I am ‘storing’ rather than compressing the files, it takes several hours !!


Alice
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: