BUGFIX: saveModuleContent时无法删除最后一个元素
TASK: 打开教育账号检查过期定时器
This commit is contained in:
@@ -24,8 +24,8 @@ public class AccountTask {
|
||||
* 替换为
|
||||
* 每个月月初只刷新教育子账号的积分
|
||||
*/
|
||||
// @Scheduled(cron = "0 0 16 * * ?")
|
||||
@Scheduled(cron = "0 0 0 1 * ?")
|
||||
@Scheduled(cron = "0 25 14 * * ?")
|
||||
// @Scheduled(cron = "0 0 0 1 * ?")
|
||||
public void refreshCreditsMonthly() {
|
||||
log.info("每月1号0点 重置教育版子账号为默认积分");
|
||||
accountService.refreshCreditsMonthly();
|
||||
@@ -80,4 +80,9 @@ public class AccountTask {
|
||||
log.info("重置所有用户的用户名修改次数");
|
||||
redisUtil.batchDeleteKeysWithSamePrefix(RedisUtil.NICKNAME_MODIFY_TIMES);
|
||||
}
|
||||
|
||||
@Scheduled(cron = "0 35 14 * * ?")
|
||||
public void checkEduAdminExpireStatus() {
|
||||
accountService.checkEduAdminExpireStatus();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user