Browse Source

Fix Quartz Cron expression for Excel file cleanup options

pull/24576/head
雷荣华 7 months ago
parent
commit
2cad3cd186
  1. 4
      docs/en/modules/audit-logging-pro.md

4
docs/en/modules/audit-logging-pro.md

@ -143,7 +143,7 @@ Configure<ExpiredAuditLogDeleterOptions>(options =>
// The Hangfire Cron expression is different from the Quartz Cron expression, Please refer to the following links:
// https://www.quartz-scheduler.net/documentation/quartz-3.x/tutorial/crontriggers.html#cron-expressions
// https://docs.hangfire.io/en/latest/background-methods/performing-recurrent-tasks.html
options.ExcelFileCleanupOptions.CronExpression = "0 23 * * *"; // Quartz Cron expression is "0 23 * * * ?"
options.ExcelFileCleanupOptions.CronExpression = "0 23 * * *"; // Quartz Cron expression is "0 0 23 * * ?"
});
```
@ -164,7 +164,7 @@ Configure<AuditLogExcelFileOptions>(options =>
// The Hangfire Cron expression is different from the Quartz Cron expression, Please refer to the following links:
// https://www.quartz-scheduler.net/documentation/quartz-3.x/tutorial/crontriggers.html#cron-expressions
// https://docs.hangfire.io/en/latest/background-methods/performing-recurrent-tasks.html
options.ExcelFileCleanupOptions.CronExpression = "0 23 * * *"; // Quartz Cron expression is "0 23 * * * ?"
options.ExcelFileCleanupOptions.CronExpression = "0 23 * * *"; // Quartz Cron expression is "0 0 23 * * ?"
});
```

Loading…
Cancel
Save