mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
增加日志删除频率设置
This commit is contained in:
1 parent
a652e1e190
commit
07e58a484c
5 files changed
+95
-86
No files matched your search
@@ -374,6 +374,7 @@ export default class UserService {
|
||||
command: `ql rmlog ${frequency}`,
|
||||
schedule: `5 23 */${frequency} * *`,
|
||||
};
|
||||
await this.scheduleService.cancelSchedule(cron);
|
||||
await this.scheduleService.generateSchedule(cron);
|
||||
return { code: 200, data: { ...cron } };
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user