Cron Expression: Every hour, Between 08:00-14:00 Daily

Hi…all

Can anyone help me on this
Cron expression for everyday 8am to 2pm on est

Hello @Arya_Squares ,

Use this cron expression to run the job at 08AM and 02PM everyday :

0 0 8,14 ? * * *

For more details / to customize the cron expression refer Free Online Cron Expression Generator and Describer - FreeFormatter.com

Regards,
Rohith

Est timings only right

@Arya_Squares ,
Yes. It takes time zone from your Orchestrator.

1 Like

Hi…bro every 30mins from 7.30am to 2.30pm everday

@Arya_Squares

You may have to go for 2 schedules to achieve this

  1. To run for 07:30, 08:30 …, 02:30 PM

0 30 7-14 ? * * *

  1. To run for 08:00, 09:00 …, 02:00 PM
    image

0 0 8-14 ? * * *

1 Like

Hi @Arya_Squares

Expression will start run at 7:00 - 14:30

0 0,30/0,30 7-14 ? * * *

You need to add implement the new condition → Process should not run at 7:00

New DateTime(Now.Year, Now.Month, Now.Day, Now.Hour, Now.Minute, Now.Second) > New DateTime(Now.Year, Now.Month, Now.Day, 07, 25, 0) And New DateTime(Now.Year, Now.Month, Now.Day, Now.Hour, Now.Minute, Now.Second) < New DateTime(Now.Year, Now.Month, Now.Day, 14, 40, 0)

Regards
Gokul

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