diff --git a/packages/shared-core/src/helpers/cron.ts b/packages/shared-core/src/helpers/cron.ts index 15abda3483..a13c19c265 100644 --- a/packages/shared-core/src/helpers/cron.ts +++ b/packages/shared-core/src/helpers/cron.ts @@ -48,7 +48,7 @@ export function validate( cronExpression: string ): { valid: false; err: string[] } | { valid: true } { const result = cronValidate(cronExpression, { - preset: "npm-node-cron", + preset: "npm-cron-schedule", override: { useSeconds: false, },