Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Share your agentic AI experience, learn from others, and earn a new badge: Put Agentic AI to Work
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasmahajan
MVP
MVP

Macro Question on schedular

Dear All

I have written macro for sending emails to users  and after reload action send reports to user's

Please refer attachment of my file in macro_question.jpg ,   After reload email is not going to

user in jpg I have set setting.

What could be a problem ?  any idea ?  Why this email is not going to user  , When i run macro manually it is going but not from schedular ?

Thanks in advance

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Labels (1)
1 Solution

Accepted Solutions
Not applicable

Hi,

On QMC-->System, you will have supporting tasks tab, this tab will contain the External programs option in that you will be able to schedule the external tasks.

Which version of Qlikview server are you using? also, do you have publisher license?

Regards,

Amay

View solution in original post

13 Replies
rwunderlich
MVP
MVP

1. You can't get system access for a server reload.

2. I don't think server reloads even run the OnPostReload action.

Others have worked around this by running a command line reload.

-Rob

vikasmahajan
MVP
MVP
Author

Dear Sir,

Thanks for reply can u explain how to achive the using command line realod ?

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan
MVP
MVP
Author

Dear Sir,

Thanks for reply can u explain how to achive the using command line realod ?

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan
MVP
MVP
Author

Dear Sir

I am  awating for your feedback.

Thanks

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Not applicable

Hi,

You have to write a batch file for reloading the application.

Then you need to run this batch through external tasks on QEMC-->System

Hope this helps.

Regards,

Amay

vikasmahajan
MVP
MVP
Author

can u Please explain with details ?

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Not applicable

First you need to write a batch file

Open a notepad, write the below command line and save it as .bat file

"C\Program files\Qlikview\QV.exe" \r "(Path of your doument)\(Document name)"

Exit

Try running the bat file manually and check if your able to run the application.

Then you can go to QEMC --> System --> External tasks in that add a new task and give the path of the bat file and schedule it as per ur requirment.

Regards

Amay

vikasmahajan
MVP
MVP
Author

I created batch file but where is external task option ?

Please refer screen short I have  attach 1u.jpg

Thanks

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Not applicable

Hi,

On QMC-->System, you will have supporting tasks tab, this tab will contain the External programs option in that you will be able to schedule the external tasks.

Which version of Qlikview server are you using? also, do you have publisher license?

Regards,

Amay