Cron Expression Issue - Friday and Last working day of month

Hi,

I am trying to setup a Cron Expression for every friday and the last working day of the month for 11pm.
My friend ChatGPT has proposed the following but doesn’t seem to work.

0 23 * * 5,[L-1]W

I have done some digging round and I can’t see any examples of this and wondering if you can set such a time frame with Cron?

Thanks!

Hi!

What is the problem with your expresion?

I find non-working days (beside weekends) are easier to handle using the orchestrator calendars.

When I try the Cron expression above I get this.

image

Where I need it a Friday and last working day of the month (which could be any day mon-fri) this is where I have struggled with the other calendar options so not thought Cron may be able to help

maybe better to split it into 2 crons

1 Like

Can you enter multiple crons on line within a trigger for UiPath? If so what format would you need to put it in?

we would create 2 triggers

1 Like

Oh of course!! Such a simple answer :sweat_smile: Thanks!

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