Skip to content

Commit

Permalink
feat: 每小时调用文件目录接口定时任务
Browse files Browse the repository at this point in the history
  • Loading branch information
rawchen committed Mar 5, 2022
1 parent bf77a44 commit 8fb4a56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private void scheduleTask() {
/**
* 调用目录接口,第一次延迟1分钟后执行,之后按每1小时调用一次
*/
@Scheduled(initialDelay=60 * 1000, fixedRate = 3600 * 1000)
@Scheduled(initialDelay = 60 * 1000, fixedRate = 3600 * 1000)
private void scheduleTaskToGetFolder() {
JSONObject requestJson = new JSONObject();
requestJson.put("param1", 30);
Expand Down

0 comments on commit 8fb4a56

Please sign in to comment.