Home > Back-end >  Now there is a regular Task a week from Monday to Friday execution (with spring's Task), now I
Now there is a regular Task a week from Monday to Friday execution (with spring's Task), now I

Time:02-19

Now there is a regular Task a week from Monday to Friday execution (with spring's Task), now I hope he does not perform I appointed a few days, how to do?
Today is Wednesday, for example, according to the logic of the original originally, this timer task will be performed today, but I have today written to the database table, on the day of the date of the on the table don't perform, this how to implement?

CodePudding user response:

In your code to write logic, priority has the rules of the database table to do it, no rules to follow cron expression of timing task

CodePudding user response:

Timing task execution check database when the switch state today, shut up don't continue to perform the following logic bai,
  • Related