Magento 2
How can an extension schedule a cron job with a crontab.xml file?
Development
extension
,
cron
dmitrii_fediuk
(Dmitrii Fediuk)
January 28, 2016, 8:28am
1
Examples from the core:
1. A cron job for cleaning old cache resources
2. A cron job for deleting unnecessary logged attempts
3. A cron job for deleting expired captcha images
4. A cron job for adding products to changes list with price which depends on date
5. A cron job for deleting all product flat tables for not existing stores
How to update products stock from an external PHP file
dmitrii_fediuk
(Dmitrii Fediuk)
March 17, 2016, 5:51am
2
See also:
How to setup and run cron for Magento 2?
Where is update/cron.php?
How to run a single cron job execution group?
How to place a cron job into a custom execution group?
How to run a custom single cron job from the command line (console)?