New answers tagged

1

You can disable magento cronjobs anytime you want by using this command: php bin/magento cron:remove To re-enable cronjobs, run this command: php bin/magento cron:install The issue that you will face is, no auto indexing will perform after you disable crons, no catalog rules will apply no price index will run no custom cronjob will execute (Added by any ...


0

It's kinda simple. I got this from module Mageplaza\ImageOptimizer: You only need to load config_path in $this->_configValueFactory, and magento will automatic run the cron for you. app/code/Mageplaza/ImageOptimizer/etc/adminhtml/system.xml: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...


0

Run the following command from the Magento root directory: php -f bin/magento cron:install After installing Cron, you view the job by running the following command: crontab -l


Top 50 recent answers are included