Hello @rchabbeh
I dont believe its possible to do this in one Cron expression.
Happy to be wrong though
This is how I would achieve what you are asking in 2 steps.
Step 1: Create a Non-Working Days Calendar.
Follow these steps after opening UiPath Orchestrator:
- Click âTenantâ
- Click âSettingsâ
- Click âNon Working Daysâ tab
- Upload a CSV for âWeekdays Onlyâ. Unable to share a CSV with you on forums
- Review/double check the non working days (see image below. Blue dots indicate the dates it wonât run - these are based on your spreadsheet).
Step 2: Create Trigger with Cron Expression
UiPath Description: At 08:30 AM and 05:30 PM, on day 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, and 18 of the month
CRON: 0 30 8,17 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 * ? *
Select the Calendar from Non Working days:
In summary, these two elements combined will make the job run at the time and dates you require but will not run on weekends because of the Non Working days calendar you have selected.
Hope this helps
Cheers
Steve