Cron Syntax

Hello all,

I have the following cron expression:

0 55 7-15 * * 2-6

For me its looks very much like what UI Path is having in their example:


Orchestrator – Verwenden von Cron-Ausdrücken

Still I get the following notification when trying to save it:

Invalid cron expression syntax (#1600)
Trace ID: acd13d50a3fb4fbca31d5fe81adc5238

Any Idea whats the issue?

hi, @VLC The problem is your cron expression is missing the seconds field, which UiPath Orchestrator requires. You need to use 6 or 7 fields for Quartz cron format.

Try changing your expression to:

0 55 7-15 ? * 2-6

This means: at second 0, minute 55, hours 7 to 15, any day of month (?), any month, and day of week Monday to Saturday (2-6).

Adding the seconds field at the start and using ? for day of month will fix the “Invalid cron expression” error.

Hi Arjun thank you for the fast reply but I have a seconds field, dont I?

I Have 0 (Seconds) 55(Minutes) 7-15(hour) * (all days of month) *(all months) 2-6 (from Monday to friday) or am I mistaken?

But the question Tag for day of month has solved it thanks!

hi, @VLC Your expression has the correct number of fields (6), but in UiPath and Quartz, the first field must be seconds. So your expression should start with 0, then the minutes.

The correct format for your schedule is:

0 55 7-15 ? * 2-6

  • 0: seconds

  • 55: minutes

  • 7-15: hours

  • ?: no specific day of month (since you’re specifying days of week)

  • *: every month

  • 2-6: Monday to Saturday

This format will work in UiPath and avoid the “Invalid cron expression” error.

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