Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
Below is my requirement to automate jobs in QMC
Note : Data Model will run daily. Weekly and Monthly (Export) jobs has to run after data model run completion only on Saturday and 1st day of month
If we make Data Model run completion as a trigger to initiate Weekly and Monthly jobs, then weekly and Monthly jobs will run daily which is incorrect. So currently we are running weekly and Monthly jobs Manually.
Please let me know solution to automate weekly and monthly jobs.
Highlighted in red to understand that in all places i am referring to the same job.
Regards
Anand
Please refer below mentioned link.
Hi Anand, with EDX the triggers can be customized:
Another quick workaround can be setting a check at start of reload of monthly and weekly documents, if it's not saturday or day 1 exit script:
// Weekly check
IF Num(WeekDay(Today()))<>5 THEN
EXIT Script;
ENDIF
// Monthly check
IF Day(Today())<>1 THEN
EXIT Script;
ENDIF
The reload will be executed every day, but exits at start when conditions are not meet.
Thanks for your response
Let me try implementing above code
Hello Ruben,
The workaround will not work if i have to run the weekly or monthly file on demand from users.
I feel EDX will work for me. There is no QMSEDX program available to download from the below link . Can you please provide me the same ASAP? I have to implement the solution before this friday.
Schedule Task to run automatically in QMC | Qlik Community
Regards
Anand
Hello Anand, at the end of the link I posted before there are some files to download, two of them are executables:
I am not able to trigger tasks via EDX in QMC. Please let me know, what i am missing or is there anything wrong in the steps that i followed.
I have downloaded QMSEDX_CommandLine_v1 from Using EDX in QlikView 11 and configured the tasks in QMC as below
1. Task set to schedule on External Event in QMC
2. Entered password for the task
3. Downloaded QMSEDX_CommandLine_v1 from Using EDX in QlikView 11 and extracted the file s to to C:\Program Files (x86)\QMSEDX_CommandLine
4. Created batch file to trigger the task and saved the bacth file in C:\Program Files (x86)\
Batch file script :
"C:\Program Files (x86)\QMSEDX_CommandLine_v1\QMSEDX.exe" -task="Report Name.qvw" -qms="QVServerName" -password="XXXX"
5. I ran the batch scrip by double clicking on the file / right click run as administrator. The command line pop up page flickers and immediately disappeared.
6. The task did not run in QMC
Hi Anand, sorry for delay, try setting -qms as:
http://ServerName_or_IP:4799/QMS/Service
To stop the window for closing you can set a "pause" command in the batch file, to check for possible errors.
There are interesting comments in the document that helps on how to configure it.
Issue has been resolved . Thanks!!