Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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!
Hello anyxs,
Thank you for reaching out to the Qlik community.
TMC (Quartz CRON) does not support “second‑last Monday”.
Below are the best approaches (no job logic):-
Use external scheduler (recommended):-
Or workaround in TMC:-