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
  •  | 
  •  

문제

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

도움이 되었습니까?

해결책

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top