作者:凹凸妖精铺子 | 来源:互联网 | 2023-01-30 13:02
Source Wikipedia:
Question mark (?) is used instead of '*' for leaving either day-of-month or day-of-week blank.
使用问号(?)代替'*'来保留日期或星期几空白。
The above statement is not making much sense to me.
上面的陈述对我来说没有多大意义。
So if I write some cron as 0 0 0 ? * *
then does it mean first of every month or it means it will execute daily?
所以,如果我写一些cron为0 0 0? * *那么它是指每个月的第一个还是意味着它将每天执行?
It is a bit confusing as Java crons start with seconds while other crons start with minute.
这有点令人困惑,因为Java crons以秒开始,而其他crons以分钟开始。
3 个解决方案