CRON expression to run every other Saturday, so every two weeks

Hi Team,

Is it UiPath orchestrator support, corn expression to run every other Saturday, so every two weeks

Hi @Naveen_Chaganti

Please check on this

Hi @Naveen_Chaganti

Advanced scheduling of the triggers in Orchestrator can be handled via CRON expressions. More information elaborated below:

However, there is not any direct CRON expression that is available for a biweekly schedule (skipping one week in between).

Below is the cron expression to run the bot in every saturday,

0 0 * * 6

Below is a possible workaround for this situation:

  1. Create an asset in Orchestrator for initial run with a value to 1.
  2. Update your workflow and put one Get Asset activity in the very beginning of the workflow.
  3. Check its value if it is 1, then please proceed to the further execution, and at the end of the execution set the asset value to 0.
  4. If the value of the asset is 0, then set the asset value to 1 and come out of the execution.
  5. Create a weekly schedule for every Tuesday and it will work as expected.

This is just one possible workaround for the aforementioned use-case. Different logics can be designed as well, based on the requirement and feasibility.

Hope you understand!!

Hi Naveen,

0 0 0 ? * 6/2

so based that image

0 : Run at 0 Seconds
0 : Run at 0 minutes
0 : Run at 0 hour
? : No specific day of month

  • : (star) so it means trigger of the day
    6/2 for day of week (start on Saturday - 6, and then repeat every 2 weeks)

i hope this will help you

Hey @Naveen_Chaganti
I don’t think it can be done directly in Orchestrator.
But … I found a solution on our forum, made by @Anil_G
Let’s check it :wink:

Hope it will help.

1 Like