Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
anuj782
Contributor
Contributor

Qliksense : Need help with custom mode on QMC Scheduler

Hi All,

I wanted to use the custom mode in QMC scheduler. 

Requirement - Need to set a trigger from 1 PM which should check in every 30 min till 8 PM from Tuesday- Saturday. For some reason this is not working. Can someone please provide your inputs/suggestion. Thanks 

anuj782_1-1668987196419.png

Let me know if you need more details. 

Thanks.

 

 

Labels (5)
6 Replies
lotfiblo
Creator
Creator

Hi,

Try the following cron expression

*/30 13-20 * * 2-7

You can see the definition here.

 

Let me know if it works.

Thanks

Lotfi

Use Qalyptus for your Qlik Sense on-premise and Qlik Sense SaaS Reporting
Connect with me on Linkedin
anuj782
Contributor
Contributor
Author

Hi Lotfi,

Thanks for your response. If I use your suggestion in custom filter it is throwing error to me. Appreciate your inputs here. FYI - This is from QMC scheduler. 

There is another field which can take custom increment so I believe that field would be required for 30 min increment. 

anuj782_0-1669030329478.png

Looking forward to hearing from you. 

Cheers

lotfiblo
Creator
Creator

Hi,

Please try this:

Custom Increment: 30 0 0 0

Filter: * 13-20 - 2-6 * * * *

I tested it. It works!

 

Thanks

Lotfi

Use Qalyptus for your Qlik Sense on-premise and Qlik Sense SaaS Reporting
Connect with me on Linkedin
anuj782
Contributor
Contributor
Author

Thanks Lotfi for your quick response here. 

I have used this and made modification to test if it works correctly from 13-15 instead of 13-20. 

But unfortunately QMC is showing me next run as 3:30 PM which ideally it should not as per the condition and stop at 3 PM. Isn't it ? Please advise. 

anuj782_1-1669091399323.png

 

anuj782_0-1669091375527.png

 

Thanks

Kamilyam
Contributor
Contributor

 Здравствуйте, у меня была такая же проблема, и каким-то образом она работает, когда вы используете 0,0

CustomTrigger-00.JPG

 

or

CustomTrigger-01.JPG

 

Rohan
Specialist
Specialist

Hi @anuj782 ,

I know your use case is wrt to custom trigger via QMC. But you can also put your task on run half hourly & handle your hour range with a simple if in the load script. Like

if(hour(now())>15 or hour(now())<20, then execute else error.

I usually handle such customizations via script rather than qmc, just a suggestion.

 

Regards,

Rohan.