修改定时任务时间为凌晨更新

master
whb 8 months ago
parent 6139e22fb3
commit e62bdf56b8

@ -57,10 +57,10 @@ public class StuJupyterController {
private AdminJupyterTokenMapper adminJupyterTokenMapper;
@Scheduled(fixedDelay = 3600000)
@Scheduled(cron = "0 0 0 * * ?")
public void updateToken() throws IOException, InterruptedException {
log.info("定时任务:==================根据学校更新排名======================");
log.info("定时任务:==================获取jupyterToken======================");
//删除全部文件
AdminJupyterTokenExample tokenExample = new AdminJupyterTokenExample();
@ -419,8 +419,6 @@ public class StuJupyterController {
return new ResultEntity<>(HttpStatus.BAD_REQUEST,"上传失败!");
}
}
if ("ipynb".equals(substring))
{

Loading…
Cancel
Save