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 taskCodePudding user response:
Timing task execution check database when the switch state today, shut up don't continue to perform the following logic bai,