Skip to content

Custom Cron Expression Automatically Overwritten #4011

@mercy-ship-it

Description

@mercy-ship-it

Description

When a custom cron expression is entered in the Cron Trigger form, the value changes automatically after you leave the input field. For example, entering */8 * * * * is converted to Every 5 minutes, which is incorrect.

After saving and reopening the Cron Trigger, the custom cron field is no longer visible, and the form shows the incorrect auto-generated frequency instead.

Steps to Reproduce

  1. Add a Cron Trigger.
  2. Set Frequency to Custom.
  3. Enter */8 * * * *.
  4. Click outside the input field.
  5. The form updates itself to Every N minutes → Every 5 minutes.
  6. Save and reopen the Cron Trigger.
  7. The custom cron expression is missing, and incorrect values are shown.

Expected Behavior

  • The custom cron expression should remain exactly as entered.
  • The form should not convert or override custom values.
  • When reopening the panel, Custom should still be selected with the cron expression visible.

Actual Behavior

-The system actually runs the cron exactly as you set it . for example, if you choose every 8 minutes, it really does run every 8 minutes.

-The confusing part is the frontend display, which shows a different schedule even though the backend understood your cron correctly. Basically, the UI doesn't keep or show the original cron expression, so it looks like it changed even though it didn’t.

Screen.Recording.2025-11-18.at.18.23.02.mov

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions