Cron expression for every 2 hours between 10am to 10 pm momday to friday in uipath

hello everyone
Please give the some idea for crone expression i am not able to make crone expression

thanks & Regard
Zaid Qazi

Hi @zaid.ahmad

Try this

0 0 10-22/2 ? * MON-FRI

  • 0: Specifies the minute at which the task will be triggered (always at the beginning of the hour).
  • 0: Specifies the hour(s) at which the task will be triggered.
  • 10-22/2: Specifies the range of hours from 10 am (inclusive) to 10 pm (exclusive), with an interval of 2 hours.
  • ?: Specifies that no specific day of the month is required.
  • *: Specifies that the month field can be any value.
  • MON-FRI: Specifies the days of the week as Monday to Friday.

Hope it helps!

To create a cron expression for running a job every 2 hours between 10 AM and 10 PM from Monday to Friday in UiPath, you can use the following expression:

0 0 10-22/2 ? * MON-FRI

Hope it helps!!

Hi @zaid.ahmad

0 0 10-22/2 ? * MON-FRI

  1. Run Every Minute:
    –>Cron Expression: * * * * *
    –>Description: Executes the process every minute.
  2. Run Every Hour:
    –>Cron Expression: 0 * * * *
    –>Description: Executes the process at the start of every hour.
  3. Run Every Day at a Specific Time:
    –>Cron Expression: 0 0 8 * *
    –>Description: Executes the process every day at 8:00 AM.
  4. Run Every Weekday (Monday to Friday):
    –>Cron Expression: 0 0 * * 1-5
    –>Description: Executes the process every weekday (Monday to Friday) at midnight.
  5. Run Every Month on a Specific Day:
    –>Cron Expression: 0 0 1 10 *
    –>Description: Executes the process on the 1st day of every October.
  6. Run Every Sunday at a Specific Time:
    –>Cron Expression: 0 12 * * 0
    –>Description: Executes the process every Sunday at 12:00 PM.
    Check for more info:
    Orchestrator - Cron Expressions

Hope it helps.

Hi,

Thanks a lot bro its working

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