fix: cron job not run when clean days is 0 (#670)

This commit is contained in:
Dream Hunter
2025-06-18 13:15:32 +08:00
committed by GitHub
parent 672c4c7273
commit c694b07380
11 changed files with 773 additions and 772 deletions

View File

@@ -28,7 +28,7 @@ const { t } = useI18n({
autoCleanup: "Auto cleanup",
cleanupSuccess: "Cleanup success",
save: "Save",
cronTip: "Enable cron cleanup, need to configure [crons] in worker, please refer to the document",
cronTip: "Enable cron cleanup, need to configure [crons] in worker, please refer to the document, setting 0 days means clear all",
},
zh: {
tip: '请输入天数',
@@ -39,7 +39,7 @@ const { t } = useI18n({
cleanupSuccess: "清理成功",
cleanupNow: "立即清理",
save: "保存",
cronTip: "启用定时清理, 需在 worker 配置 [crons] 参数, 请参考文档",
cronTip: "启用定时清理, 需在 worker 配置 [crons] 参数, 请参考文档, 配置为 0 天表示全部清空",
}
}
});