Hi Team,
Can anybody help me with the cron pattern for below schedule
Every after one hour for all seven days
except Saturday’s and Sunday’s 1 pm run
Thanks
Hi Team,
Can anybody help me with the cron pattern for below schedule
Every after one hour for all seven days
except Saturday’s and Sunday’s 1 pm run
Thanks
Hello
Welcome back to the forums
I am not a Cron expression expert but I don’t believe its possible to do this in just one pattern
Happy to be wrong though
I think you will need to use 2 separate Cron patterns. To achieve this I would use 2 Cron patterns like this:
Cron 1 - Hourly for Weekdays:
Description: Every hour, only on Monday, Tuesday, Wednesday, Thursday, and Friday
CRON: 0 0 * ? * MON,TUE,WED,THU,FRI *
Cron 2 - Hourly Sat + Sun (minus 1pm).
Description: At 12:00 AM, 01:00 AM, 02:00 AM, 03:00 AM, 04:00 AM, 05:00 AM, 06:00 AM, 07:00 AM, 08:00 AM, 09:00 AM, 10:00 AM, 11:00 AM, 12:00 PM, 02:00 PM, 03:00 PM, 04:00 PM, 05:00 PM, 06:00 PM, 07:00 PM, 08:00 PM, 09:00 PM, 10:00 PM and 11:00 PM, only on Sunday and Saturday
CRON: 0 0 0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,22,23 ? * SUN,SAT *
Note: This description is taken from UiPath directly.
Cheers
Steve
Thankyou , That worked for me
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.