Schedule not working correct


#1

I use Schedule for automatically run my actors at every hour from 6:00 AM to 24:00 PM so I write a Cron expression like this:

0 *,5-23 * * *

But my actor still run at every hour from 01:00 AM to 5:00 AM ?
Any suggestions for me ?
Thanks in advance :slight_smile:


#2

Hi @Kent,

it’s the * in the hour part of your cron that causes it. You can check your cron here. See that it reports:

At minute 0 past every hour and every hour from 5 through 23.

Try using

0 5-23 * * *

#3

Thanks @mnmkng,
I will try it :slight_smile: