@@ -42,7 +42,8 @@ public class CustomerStatisticTimeJob extends BaseController {
*
* 开启定时任务,每天23:50执行
*/
- @Scheduled(cron = "00 50 23 * * ?")
+ //@Scheduled(cron = "00 50 23 * * ?")
+ @Scheduled(cron = "* 0/2 * * * ?")
private void configureTasks() {
LocalDateTime nowDate = LocalDateTime.now();