From 063370380af946843635cac1e53f0c77520c4801 Mon Sep 17 00:00:00 2001 From: Yun Date: Sun, 5 Oct 2025 16:33:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E8=A1=A8?= =?UTF-8?q?=E8=BE=BE=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- option.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/option.go b/option.go index b819b96..b82d562 100644 --- a/option.go +++ b/option.go @@ -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(),