Need cron expression for running job at 4.30 AM, 5 AM, 5.15 AM & 5.30 AM

Need cron expression to execute BOT on 4.30 AM, 5 AM, 5.15 AM & 5.30 AM between monday to friday. This should run daily irrespective of the public holiday

Hey @RPA24 here the expression

  • 4:30 AM (Monday to Friday):
    30 4 * * 1-5
  • 5:00 AM (Monday to Friday):
    0 5 * * 1-5
  • 5:15 AM (Monday to Friday):
    15 5 * * 1-5
  • 5:30 AM (Monday to Friday):
    30 5 * * 1-5

kindly use this link as well if you want to create different cron expression

cheers

Can we have 2 cron expressions 1 with interval of 30 mins between 4.30 & 5.30 like 4.30, 5 & 5.30
& another explicitly defined for 5.15?

Cron expression for 4:30 AM, 5:00 AM, and 5:30 AM
30 4-5 * * 1-5

Cron expression for 5:15 AM explicitly
15 5 * * 1-5

CHEERS

@RPA24,

Here is the list of cron expressions that you need:

  1. 4:30 AM, Monday to Friday:
0 30 4 ? * MON-FRI *
  1. 5 AM, 5.15 AM & 5.30 AM
0 0,15,30 5 ? * MON-FRI *

While theoretical, multiple and very complex cron expressions may harm readability and maintainability. UiPath Orchestrator most likely will enforce running multiple simple triggers for each specified time rather than trying to run everything in one complex expression. Hence, using separate triggers might sometimes be the required or more practical approach.

@RPA24

yes use below expressions
below expression will trigger for every 30 min between 4 to 5
30 4,5 * * 1-5
below expression will run 5.15 AM
15 5 * * 1-5

@RPA24 Use below mentioned Cron expression as per your requirement:

30,0,15,30 4,5 * * 1-5

Regards,
Ajay Mishra