Orchestrator
latest
false
Banner background image
Orchestrator User Guide
Last updated Apr 24, 2024

Triggering jobs on the last day of the month

You can choose to execute a job on the last weekday of each month, regardless of the number of days within the month. To do that, you need to use the LW subexpression in your cron expression.

Example

59 59 23 LW * ? would trigger at 11:59:59 PM on the last weekday of each month, regardless of whether that day is the 28th or the 31st.
In contrast, 59 59 23 31W * ? would trigger at 11:59:59 PM on the closest weekday to the last day of the month only if the month is 31 days long. In this case, months that are 28, 29, or 30 days long are skipped.
  • Example

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.