Cron expression for 7:00am-5:00pm and run every min from monday-saturday

Hi can you help me generate cron expression this is the current expression I have

Every minute, between 07:00 AM and 03:59 PM, Monday through Saturday
0 * 7-15 ? * 2-7

What I want is schedule will start at 7:40AM -03:59 PM and run every minute in this time range

TIA

Hi @joscares ,

Could you please try with below cron expression and let me know if it works.
0 40/1 7-15 ? * 2-7

image
it is not every minute What I want is every minute on this time range 7:40-:500

@joscares
What about this?
0 40,0/1 7-15 ? * 2-7

At second :00, at minute :40, and every minute starting at minute :00, every hour between 07am and 15pm, every day between Monday and Saturday, every month

Every 1 minutes, between 07:00 AM and 03:59 PM, Monday through Saturday this is the result of that since like will not start at 7:40

trip_origin

HI @joscares

You can try with this expression

0 0/1 7-15 ? * 2-7

image

image

You can play with this link to generate cron

Regards
Gokul

Hi @joscares,

You need to start the job every minute from 7.40-15.00 between Monday-Saturday.


this is the result when I try that expression

Time now is 13:14 so it should be running per minute now

Hey @joscares

Change the time zone in the trigger based on region

image

And try with this expression

0 0/1 7-15 ? * 2-7

Regards
Gokul

Hi @joscares

One expression would not fit fot that time.

You have to use two different expression in two schedules

One for 7:40 to 8 and other for 8 to 5 . Expressions can be generated from CronMaker

Cheers

Have you got the output? @joscares

If yes, Kindly close ths topic by mark as solved. It will help for other too.

Regards
Gokul