This commit is contained in:
2026-01-05 19:11:16 +08:00
73 changed files with 400 additions and 323 deletions

View File

@@ -22,7 +22,7 @@ public sealed class RecurringJobRegistrar(
RecurringJob.AddOrUpdate<CouponExpireJob>("coupons.expire", job => job.ExecuteAsync(), "0 */1 * * *");
RecurringJob.AddOrUpdate<LogCleanupJob>("logs.cleanup", job => job.ExecuteAsync(), "0 3 * * *");
// 2. (空行后) 订阅自动化任务(自动续费、续费提醒、到期进入宽限期)
// 2. 订阅自动化任务(自动续费、续费提醒、到期进入宽限期)
var options = subscriptionAutomationOptions.CurrentValue;
RecurringJob.AddOrUpdate<SubscriptionAutoRenewalJob>(
"subscriptions.auto-renewal",
@@ -37,7 +37,7 @@ public sealed class RecurringJobRegistrar(
job => job.ExecuteAsync(),
$"0 {options.SubscriptionExpiryCheckExecuteHourUtc} * * *");
// 3. (空行后) 账单自动化任务(逾期标记)
// 3. 账单自动化任务(逾期标记)
var billingOptions = billingAutomationOptions.CurrentValue;
RecurringJob.AddOrUpdate<BillingOverdueProcessJob>(
"billings.overdue-process",