java - quartz.ScheduleJob scheduling time 0/5 * * * * ? How long does it represent?
天蓬老师
天蓬老师 2017-06-23 09:14:38
0
3
1682
quartz.ScheduleJob调度时间0/5 * * * * ?表示多长时间,这个都是什么意思
天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
女神的闺蜜爱上我

Executed every 5 seconds

The seven fields from left to right are seconds, minutes, hours, days, months, days of the week, and years. . . . The last one is optional.
The same seven fields are executed when they match the current time. . .

n/m represents every m starting from n, that is, n,n+m,n+2m....
* represents any possible value. For example, when used in seconds, it is 0, 1, 2, 3,..., 59
?. It can be used in days and days of the week, indicating that this field is ignored. It feels no different from *, but in the document Say there is a difference and let yourself experience it (your sister). . . It seems that if you only give the value of one field and ignore the other, use ?

http://www.quartz-scheduler.o...

http://www.quartz-scheduler.o...

漂亮男人

If you are asking about crontab
It will be executed every 5 minutes.

给我你的怀抱

There is a special online generator for corn expressions. You don’t need to remember it. Just read it a few times and it’s almost done

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template