Browse Source
Merge pull request #24576 from LEIRONGHUA/fix-quartz-cron-expression
Documentation: Fix quartz cron expression
pull/24589/head
Ma Liming
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
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 * * ?" |
|
|
|
}); |
|
|
|
``` |
|
|
|
|
|
|
|
|