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

Update CrontabManager.php #12610

Merged
merged 4 commits into from
Dec 12, 2017
Merged

Update CrontabManager.php #12610

merged 4 commits into from
Dec 12, 2017

Conversation

WaPoNe
Copy link
Contributor

@WaPoNe WaPoNe commented Dec 9, 2017

If crontab is already populated, 'php bin/magento cron:install' adds '#~ MAGENTO START' and the rest of code directly to the last row of crontab without any spaces.

Description

Fixed Issues (if relevant)

  1. magento/magento2#<issue_number>: Issue title
  2. ...

Manual testing scenarios

  1. ...
  2. ...

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)

If crontab is already populated, 'php bin/magento cron:install' adds '#~ MAGENTO START' and the rest of code directly to the last row of crontab without any spaces.
@sidolov sidolov self-assigned this Dec 11, 2017
@sidolov sidolov added this to the December 2017 milestone Dec 11, 2017
@sidolov sidolov added 2.2 and removed 2.2 labels Dec 11, 2017
@sidolov
Copy link
Contributor

sidolov commented Dec 11, 2017

Hi @WaPoNe , we can't accept pull requests to magento:2.2 branch, only to magento:2.2-develop.
Base branch changed to 2.2-develop.

@sidolov sidolov changed the base branch from 2.2 to 2.2-develop December 11, 2017 08:58
@sidolov sidolov mentioned this pull request Dec 11, 2017
4 tasks
@sidolov
Copy link
Contributor

sidolov commented Dec 11, 2017

Replaced provided fix with more flexible logic for preventing empty lines in crontab config.
Also added dataset for unit test.

@magento-team magento-team merged commit 5bc45d9 into magento:2.2-develop Dec 12, 2017
magento-team pushed a commit that referenced this pull request Dec 12, 2017
magento-team pushed a commit that referenced this pull request Dec 12, 2017
EngCom] Public Pull Requests - 2.2-develop
 - MAGETWO-85520: Remove @escapenotverified from documentation #12639
 - MAGETWO-85317: 12526: Currency change, Bank Transfer but checkout page shows "Your credit card will be charged for" #993
 - MAGETWO-85298: 8011: Strip Tags from attribute. #968
 - MAGETWO-85294: 12535: Product change sku via repository. #984
 - MAGETWO-85274: Update CrontabManager.php #12610
 - MAGETWO-84994: 8862: Can't emptying values by magento 2 api #916
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants