Is there any way to kick off a very specific cron process in Magento 2 using command line?

magento.stackexchange https://magento.stackexchange.com/questions/322349

  •  14-04-2021
  •  | 
  •  

Question

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

Était-ce utile?

La solution

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top