search

Home  >  Q&A  >  body text

java - Ask a question about spring scheduled tasks

About the scheduled task expression:
0 o'clock every day: 0 0 0 ?
1 o'clock every day: 0 0 1 ?
The above all run at normal time points.
But the other one is not normal. Did I write it wrong?
0:00 on the 1st of every month: 0 0 0 1 * ?
9:00 on the 1st of every month: 0 0 9 1 * ?

滿天的星座滿天的星座2746 days ago561

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-05-17 10:02:15

    For reference only

    reply
    0
  • PHPz

    PHPz2017-05-17 10:02:15

    Is the expression okay? What’s wrong?

    reply
    0
  • PHPz

    PHPz2017-05-17 10:02:15

    Check the quartz related expressions to determine whether the format is correct

    reply
    0
  • Cancelreply