How to schedule the bot to run on first and third Monday of every month?

Hi Community,

How to schedule the bot to run on first and third Monday of every month?

Any help would be appreciated:-)

@Vaishnav_Tej

You need to have two crons can’t be done in one

1st Monday - 0 0 10 ? 1-12 2#1 *

3rd Monday - 0 0 10 ? 1-12 2#3 *

This is for running at 10 in the morning

cheers

Hi,

Can you explain what does ? and * means

Hi @Vaishnav_Tej

The format of the string is
seconds minutes hours day of the month month day of the week year .

  • “*” Indicates all values. Eg. for month field, it means every month

  • “?” ( “no specific value”) - useful when you need to specify something in one of the two fields in which the character is allowed, but not the other. For example, if I want my trigger to fire on a particular day of the month (say, the 10th), but don’t care what day of the week that happens to be, I would put “10” in the day-of-month field, and “?” in the day-of-week field. See the examples below for clarification.

Refer below link for more info about cron expression
Using Cron Expressions (uipath.com)

Regards,
Arivu

1 Like

@Vaishnav_Tej

Adding to what @arivu96 has mentioned

Please check this for more info

Cheers

1 Like

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