Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Reload on Server start from .bat

Hi,

Someone have the solution ?

I'm using QV Server (SBE)

I would like to start Reload document (using publisher included on SBE) from a bat file and then know when the process is finished.

Not in this way ("C:\Program Files\QlikView\qv.exe" /r "D:\Apps\Qlik\Project.qvw" ) but using PublisherReload

Many Thanks

Claudio

2 Replies
prabhu0505
Valued Contributor

Reload on Server start from .bat

Hi Claudio,

I hope the following links may be helpful for you to kick start this

http://stackoverflow.com/questions/709635/sending-mail-from-batch-file

http://www.febooti.com/support/faq/command-line-email/batch-file-automate-file-send.html

Please let me know once you find it.

Not applicable

Reload on Server start from .bat

Hi Claudio,

Take a look at Event Driven Execution (I think it is still called that in version 9) - you can make a HTTP post to QVS and trigger a reload task. You can also query QVS/Pub and it will tell you the status of the job.

I haven't got the code to hand but search for EDX on here and you should find some examples.

I have implemeted EDX and it is straightforward. Our scheduling system tells QVS when to reload the documents. The call is made in a VBScript file, that is called from a .bat. The VBS passes an errorlevel back to the batch file, and this is what tells us if the job has finished with success or failure. the batch file is only required as that is what our scheduling system requires. you can of course run the VBs in any way you wish. I also think there is a .Net way of doing the same thing as well.

Regards,

QB

Community Browser