Skip to content

Cron generates the same jobs in the same time #12602

Closed
@atsareva

Description

@atsareva

Hi guys,

Recently we upgraded magento with 2.2.0 version and faced with a strange issue for generating cron jobs.

Preconditions

  1. Magento 2.2.0 / 2.2.1
  2. Ubuntu 16.04 lts
  3. PHP 7.0.22
  4. mysql Ver 14.14 Distrib 5.7.20
  5. apache

Steps to reproduce

  1. I was only observing cron_schedule table about one hour.

Expected result

  1. cron_schedule shouldn't contain repeated jobs in the same time

Actual result

But actually it contains wrong job's schedule, therefore some jobs will be run more often.
cron_fiege
or
cron_newrelic

More serious problems can occurs due to repeated cron jobs. E.g we have import job which should be run each 15minutes, but sometimes it's run twice a minute. Therefore reindex process is working all time and we have a lot of deadlock issues.

Thanks,
Alena Tsareva

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CronFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions