Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change cron group id to 'mailchimp'. #282

Merged
merged 1 commit into from
Apr 18, 2018
Merged

Conversation

jhruehl
Copy link
Contributor

@jhruehl jhruehl commented Apr 17, 2018

Change the cron group id to 'mailchimp', so it can be specifically addressed or excluded when running the magento/bin cron:run command via adding the option --group mailchimp.

This wouldn't make much of difference for the general Magento 2 stores, because they keep running the cron:run command without any options, so all cron jobs are handled anyway including the mailchimp cron jobs, but for larger stores, which run long and extensive daily crons in the night, it could make a difference.

E.g. we disable the normal cron process during the daily cron, which is run in the night, because otherwise certain processes would mingled which each other causing them to fail. Having separate cron group ids, would enable us to specifiy explicitly, which cron jobs can still be run or should be excluded in a simple way, without having to mingle to much with the Magento core code by creating Plugins, Observers or Preferences.

Change the cron group id to 'mailchimp', so it can be specifically addressed or excluded when running the `magento/bin cron:run` command via adding the option `--group mailchimp`.

This wouldn't make much of difference for the general Magento 2 stores, because they keep running the cron:run command without any options, so all cron jobs are handled anyway including the mailchimp cron jobs, but for larger stores, which run long and extensive daily crons in the night, it could make a difference.

E.g. we disable the normal cron process during the daily cron, which is run in the night, because otherwise certain processes would mingled which each other causing them to fail. Having separate cron group ids, would enable us to specifiy explicitly, which cron jobs can still be run or should be excluded in a simple way, without having to mingle to much with the Magento core code by creating Plugins, Observers or Preferences.
@gonzaloebiz gonzaloebiz added this to the 1.0.29 milestone Apr 18, 2018
Copy link
Collaborator

@gonzaloebiz gonzaloebiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jhruehl

thanks for your contribution

Best

@gonzaloebiz gonzaloebiz merged commit 9d32364 into mailchimp:develop Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants