My client's existing system works like this -
There is automation of data getting loaded from AWS S3 to Redshift and then Tableau Desktop and Online are scheduled to refresh with the latest data in Redshift.
After the above process, we currently do a manual check on data extracts refresh in online, and then manually invoke scripts to generate PDF for the latest extracts dashboards. This process needs to be automated. That is, when the extract is refreshed successfully in online, automatically the PDF generation script must be invoked. Is there a way this can be achieved?
You should be able to do this all within your script, you can even have the datasource refresh within the script.
in a batch script run
tabcmd refreshextracts --datasource data --synchronous
then run your pdf script.
Schedule the batch job with windows task scheduler and you should be good to go.