Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Send Mail Alert Using Batchfile

Hi All,

I can send the Mail when I reload the application using Batch File . But the Problem is After reloading, application and batch file is kept open .(Normally If reloaded with batch file, batch file and application get close automatically ). Is there any command that forcely closes the batch file after reload . Please guide me..............

Regards,

Chakravarthy.

5 Replies
maneshkhottcpl
Contributor III

Send Mail Alert Using Batchfile

Hi

Create one vb script file having the send email option and after reload of application call the file from batch file.

Not applicable

Send Mail Alert Using Batchfile

Hi Manesh ,

Thanks for reply. Sorry to say this ,I didnot understood your post . Can you explain in detail .

Regards,

Chakravarthhy.

deepakk
Valued Contributor III

Send Mail Alert Using Batchfile

HI,

In order to close the batch file, you might have create another batch file and close it forcefully.

you can used the taskkill command to do so.

eg:

taskkill /f /im cmd.exe.

I hope this helps.

Not applicable

Send Mail Alert Using Batchfile

Hi Deepak,

Thanks for your reply . It Solved the problem.. Smile

Regards,

Chakravarthy.

Not applicable

Send Mail Alert Using Batchfile

Ref : http://community.qlik.com/message/18973#18973

Batch to run macros

1.Create Batch file  ==> "C:\Program Files\QlikView\qv.exe" /l "path_to_document"

2.Create Task Scheduler to RUN Batch file (1)

3.QVW Document ==> Document properties > OnPostReload ==> Add RUN MACRO

4.add  (end of script)

        ActiveDocument.Save

    Application.Quit


Community Browser