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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
anyxs
Contributor II
Contributor II

Configuring a Cron trigger

Hi everyone,

I'm working on a Talend job that I need to trigger automatically every second-to-last Monday of the month via Talend Management Console (TMC).

I tried the following CRON expression:
0 0 10 17-24 * MON

But TMC returns the error: "You cannot specify both Day of month and Day of week fields in the same expression."

I have two questions:

1. Is there a native CRON expression supported by TMC that can target only Mondays between the 17th and 24th of the month, without adding any Java logic inside the job itself?

2. If this is not achievable with pure CRON, what would be the best approach to automate this trigger without embedding verification logic in the job?

Thanks in advance for your input!

Labels (1)
  • Cloud

1 Reply
Rahul_Kale
Support
Support

Hello anyxs,

Thank you for reaching out to the Qlik community.

TMC (Quartz CRON) does not support “second‑last Monday”.

  • You cannot combine Day‑of‑Month + Day‑of‑Week → one must be ? Document.
  • Only supports:-
    • MON#n (nth Monday)
    • MONL (last Monday)  Document.

 

Below are  the best approaches (no job logic):-
 

Use external scheduler (recommended):-

Or workaround in TMC:-

  • Schedule:
    • MON#3 (3rd Monday)
    • MONL (last Monday)
  • Control execution outside the job (plan/filter).