Mahendran V M
Mahendran V M

Reputation: 3496

How to schedule the CRON to be run 1 to 1:30?

I need to know cron expression to run every monday between 1 and 1:30 am.

I have tried below expressions not worked.

1 * 1-2 ? * MON *

Can anyone help me to write cron expression?

Upvotes: 0

Views: 1633

Answers (2)

M_I
M_I

Reputation: 132

Try this: 0 0-30 1 ? * MON

I think, you need at least 6 slots to fill so CRON expression is valid.

Upvotes: 1

notNull
notNull

Reputation: 31510

Try the below expression

0 0-30 1 ? * MON *

Upvotes: 1

Related Questions