修改默认表达式

This commit is contained in:
Yun
2025-10-05 16:33:23 +08:00
parent 372033cfa3
commit 063370380a
+2 -1
View File
@@ -20,7 +20,8 @@ type Options struct {
func defaultOptions() Options {
parser := cron.NewParser(cron.Second | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow | cron.Descriptor)
// 默认使用Linux的定时任务兼容
parser := cron.NewParser(cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow)
return Options{
logger: logger.NewLogger(),