Skip to main content

I have created a batch file which refreshes an extract using tabcmd commands.  Next I want to take the updated packaged workbook and save it to a network drive.  I can do each of these steps just fine.  The issue is that I need to find out how to determine when the extract refresh has completed before the workbook is saved.  Is there a way that I can find that out with a tabcmd command?  I could schedule each step separately and put a delay between but depending on how much is running the refresh may not happen right away.  Any advice would be appreciated!

3 answers
  1. Oct 27, 2016, 7:10 PM

    you have a couple options.

     

    1. You can run the refreshextract synchronous which I think waits until it's done before proceeding.  tabcmd Commands

     

    2. You can poll the internal Postgres db to see the status of the extract and create a while loop until it's done.  If don't have this enabled yet, then see the data dictionary and Workgroup DatabaseData Dictionary and enable the readonly password.  Collect Data with the Tableau Server Repository .  I always forget what to look for, I think we look at the finish_code on the backgrounder view.

0/9000