Cron expression to run job twice a day at different time?

后端 未结 3 1306
时光取名叫无心
时光取名叫无心 2021-01-12 01:41

I have one job that needs to be execute twice a day at different time . e.g. 10:00 and 15:30. How can i achieve this ?

I am confuse because minute is different for b

3条回答
  •  一个人的身影
    2021-01-12 02:30

    Try following which you will get closest in one expression

    0 0 10,15/12 * * ?
    

    this will run 10:00 and 15:00.

提交回复
热议问题