Cron Expression for case

Hi I want cron expression for the below scenerio:

The bot should start at Monday 11:00 AM and should run for every 15 mint till Friday 11:00 PM.

Hi @vishal_nachankar

Try this cron expression

0 0/15 11-0 ? * MON,TUE,WED,THU,FRI *

image

Regards
Gokul

but it should run every 15 mints from monday 11 am and should stop at friday 11 PM.

Every 15 minutes, between 11:00 AM and 12:59 AM, only on Monday, Tuesday, Wednesday, Thursday, and Friday

when i create it in orchestrator it gives like this.

HI @vishal_nachankar

In the Cron we can’t able to stop the job in my opinion.

Alternative way Try to use Should Stop activity in the workflow to stop at Friday

Rehards
Gokul

Hi @vishal_nachankar ,
maybe u can try to create 3 crons there.
first is to run every 15 min from 11 till midnight on mondy (0 0/15 11-23 ? * 2)
second is to run every 15 min on tue-thur (0 0/15 * ? * 3,4,5)
and third is to run every 15 min from 00.15 till 11 PM (0 0/15 0-22 ? * 6)


Hope it’s work for u.