Issue Encountered When Enabling Backup – Cron Expression with “L” Flag Rejected #323

Closed
opened 2026-04-05 16:16:12 +02:00 by MrUnknownDE · 0 comments
Owner

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 syntax

It 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.

Image Image
*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 syntax` It 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. <img width="403" height="189" alt="Image" src="https://github.com/user-attachments/assets/1ac8d0c7-aa3c-4f65-a952-820cd9411183" /> <img width="472" height="286" alt="Image" src="https://github.com/user-attachments/assets/7674ef06-df95-41f2-aad8-aa91c8506cdf" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#323