Cron expression for scheduling

Hi All,

I am looking for Cron expression for - Every day from 1st of the month to 14th of the month at 19:00 excluding Saturday and Sunday:

Thanks

1 Like

@Shivi Have you tried this :
0 0 19 1-14 * MON-FRI

Giving an error, Invalid cron expression syntax (#1600)

Thanks

Hi @Shivi

try this

0 0 19 1 1/1 ? *

Thanks
Ashwin S

2 Likes

Hi @Shivi,

You can use this 0 0 19 1/14 * ? *, cron expressions does not support day-of-week AND a day-of-month in one expression. You can use non working days for the day-of-week.

GĂĽrkan

2 Likes

Thanks.

Hi,

After selecting “Non working day restrictions”, it is working on weekends also.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.