Browse Source

定时任务处理

anderx 3 years ago
parent
commit
0834f87ecd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/goafanti/common/task/ReleaseUserTask.java

+ 2 - 2
src/main/java/com/goafanti/common/task/ReleaseUserTask.java

@@ -51,8 +51,8 @@ public class ReleaseUserTask {
 	 *
 	 * @throws InterruptedException
 	 */
-	@Scheduled(cron = "0 55 11  * * ?")
-//	@Scheduled(cron = "0 0 1  * * ?")
+//	@Scheduled(cron = "0 55 11  * * ?")
+	@Scheduled(cron = "0 0 1  * * ?")
 	public void startTask() {
 		try {
 			pushUserDays();