0

We're working on troubleshooting a bug where product back in stock alerts aren't sent on our production or staging environment, but they are in dev(after a custom patch was applied to all three). Magento 2 by default only schedules this process once a day, even if you change the time the cron is supposed to run. We've cloned our staging environment to run some tests. We'd like to test this more frequently without the need to install one of the cron scheduler apps.

Is there any way to fire off a specific cron process, catalog_product_alert in our case, through command line alone?

We're on Magento 2.3.5

1
  1. https://github.com/netz98/n98-magerun2 Can run specific cron jobs
  2. Module https://github.com/Ethan3600/magento2-CronjobManager Might be useful
| improve this answer | |
  • I ended up finding this through a colleague yesterday. I was on my way back over to answer the question but you beat me to it. This worked perfectly, thank you! – Front_End_Dev Sep 16 at 17:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.