Cron expression with start and end time

后端 未结 4 1947
南笙
南笙 2021-01-19 00:15

I am trying to write an cron expression with a specific start time and end time everyday. i.e. every minute from 10:15 to 17:35 everyday

One possible solution for t

4条回答
  •  忘掉有多难
    2021-01-19 01:01

    yes, use

    0 15-35 10-17 1/1 * ? *
    

    you can follow this tutorial http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html

    and generate and test your expressions here http://www.cronmaker.com/

提交回复
热议问题