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

don't escape console redirection in cron.php #192

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

bob2021
Copy link
Contributor

@bob2021 bob2021 commented Feb 28, 2017

Since SUPEE 6788, the shell_exec commands in cron.php have been escaped.

But escaping the console redirection part > /dev/null 2>&1 & will stop the redirection & detach from working, so the commands end up running sequentially instead of in parallel

Copy link
Member

@colinmollenhour colinmollenhour left a comment

Choose a reason for hiding this comment

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

Looks good!

@tmotyl tmotyl added the review needed Problem should be verified label Mar 1, 2017
@cieslix
Copy link
Contributor

cieslix commented Mar 1, 2017

+1

@colinmollenhour colinmollenhour merged commit f93c290 into OpenMage:1.9.3.x Mar 1, 2017
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Dec 6, 2017
Escaping the console redirection part > /dev/null 2>&1 & will stop
the redirection & detach from working, so the commands end up running
sequentially instead of in parallel
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Dec 6, 2017
Escaping the console redirection part > /dev/null 2>&1 & will stop
the redirection & detach from working, so the commands end up running
sequentially instead of in parallel
@sreichel sreichel added bug and removed review needed Problem should be verified labels Jan 11, 2018
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Feb 28, 2018
Escaping the console redirection part > /dev/null 2>&1 & will stop
the redirection & detach from working, so the commands end up running
sequentially instead of in parallel
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Mar 20, 2018
Escaping the console redirection part > /dev/null 2>&1 & will stop
the redirection & detach from working, so the commands end up running
sequentially instead of in parallel
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.

6 participants