Orchestrator
latest
false
Triggering jobs on the last day of the month - Automation Cloud latest
logo
Orchestrator User Guide
Last updated Nov 28, 2023

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
logo
Get The Help You Need
logo
Learning RPA - Automation Courses
logo
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2023 UiPath. All rights reserved.