Creating cron expression

I am trying to make cron expression for time between 11 p.m. to 5 a.m. every day.

I try many cron expression but did not any result.
bot should not run after 5 a.m.

please help me

Hello,

For Cron expression i’m using this :Free Online Cron Expression Generator and Describer - FreeFormatter.com
I hope it will help you :slight_smile:

Regards,

This Cron expression seems to be what you need : 0 0 0-5,23 ? * * *
It runs everyday, even on saturday and sunday

i am trying this

    • 0,1,2,3,4,5,23 ? * * *

HI @Lakshya_Garg2

You can try with this cron expression 0 0 0-5,23 ? * * *

Check out this tutorial

Regards
Gokul