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

Feature Request: Easy Run now button. #1

Open
LiamKarlMitchell opened this issue Apr 17, 2020 · 1 comment
Open

Feature Request: Easy Run now button. #1

LiamKarlMitchell opened this issue Apr 17, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@LiamKarlMitchell
Copy link

LiamKarlMitchell commented Apr 17, 2020

I would like to be able to have a button that can be clicked to Run Now for example to run a specific Magento 2 Cron Job (Product Import) for example.

How might I go about this?

https://github.com/netz98/n98-magerun2/blob/1.2.2/src/N98/Magento/Command/System/Cron/RunCommand.php#L73-L85

Shows putting a record in the Cron Schedule table.
But it also runs it immediately.
As it can be a long running job it should be scheduled and run automatically asap.

If added with pending it might run automatically I think that is the purpose of this table.

@bartoszkubicki bartoszkubicki added the enhancement New feature or request label Oct 7, 2020
@bartoszkubicki
Copy link

@LiamKarlMitchell thank you for reporting an enhancement. Right now we do not plan do develop this module, first we have to refactor it, make sure it is still usefull and compatible with magento 2.3. If you are using it now, and really need this, there is no problem if you prepare PR with changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants