Skip to content

[Issue] Support cron expressions like 3/10 * * * * and handle hyphen expres… #29240

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #28930: Support cron expressions like 3/10 * * * * and handle hyphen expres…


Preconditions (*)

Cron expressions like 3/10 * * * * are now not scheduled. They should be scheduled at every 10 minutes, starting at 3 minutes past the hour.

Fixed Issues (if relevant)

  1. PR Support cron expressions like 3/10 * * * * and handle hyphen expres… #28930

Steps to reproduce: (*)

  1. Plan a cron job with the expression 3/10 * * * *
  2. Run bin/magento cron:run
  3. See how it does not get scheduled

Actual Result: ✖️ cron task with expression 3/10 * * * * was not scheduled

Expected Result: ✔️ They should be scheduled at every 10 minutes, starting at 3 minutes past the hour.

after applying the PR, it will get scheduled.

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CronFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.Triage: DoneHas been reviewed and prioritized during Triage with Product Managers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions