Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all ,
I have a situation , i want to schedule a task in QMC for every 3rd day of Month start , means id i got Saturday oe Sunday in my month start then it automatically change the date and start on start 3rd day .
Can it be possible , i don't think so , if any body have any solution please tell me .
Hi,
I don't think there is an option.
But yes bbt can shed some light on this if there is any such possibility.
Regards
ASHFAQ
I think it won't be possible to trigger such complex/conditional task directly within the qmc. But you could put a weekday-check at the beginning from the qvw-load and if condition don't match you finished the load with an "exit script;" statement.
You could make such check also externally and start then this task per windows task or per per execute statement from another qvw which could be triggered from the qmc again. Here a simple example for a vbs-routine to return the current weekday:
dim File, Weekday
Path = "D:\"
Weekday = left(formatdatetime(now(), 1), instr(formatdatetime(now(), 1), ",") - 1)
set fso = CreateObject("Scripting.FileSystemObject")
set File = fso.OpenTextFile("D:\TaskWeekday.txt", 2, true)
File.Write Weekday
File.close
- Marcus
I think it won't be possible to trigger such complex/conditional task directly within the qmc. But you could put a weekday-check at the beginning from the qvw-load and if condition don't match you finished the load with an "exit script;" statement.
and if you have a dependent task, raise an error (load a non existent qvd, or something else) after the check so the dependent task doesn't start.
Of course, it's a possibility.
- Marcus
Hi Agnivesh,
did you solve this issue how to schedule the task in Qlik sense QMC
Agnivesh's issue was likely for QlikView Server/Publisher, not Qlik Sense. Would suggest that you make a post on the Qlik Sense forums.
This question was published 3 years before and this was the question for QlikView server only.
HI Agnivesh,
You can create a Qlikview document as attached to find working day.
and have a if else loop to check working day.
if working day is 3 then load some irrelevant fields which will fail the document.
and based on job failure trigger the required task.
Thanks for your help , but its toooooo late