mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
Issue Encountered When Enabling Backup – Cron Expression with “L” Flag Rejected #323
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nurhalim88 on 12/26/2025
Hi,
I encountered an error when attempting to enable the backup schedule using a valid CRON expression.
I configured the Backup interval with the following expression:
55 23 L * *This expression is valid according to standard CRON syntax (using L to indicate the last day of the month). However, the system returns the following error:
Error. invalid cron expression: failed to parse int from L: strconv.Atoi: parsing "L": invalid syntaxIt appears that the parser is attempting to convert the “L” flag into an integer instead of handling it as a special CRON keyword.
Could you please verify whether the current CRON parser supports the L modifier, and if not, advise on the correct approach or update the parser to support standard CRON expressions?
Thank you, and I appreciate your assistance.