Skip to content

magento man

Cron class not found

My cronjob is defined as follows: <?xml version=”1.0″ ?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Cron:etc/crontab.xsd”> <group id=”default”> <job instance=”VendorModuleModelStatus” method=”update” name=”vendor_module_status_update”> <schedule>0 */2 * * *</schedule> </job> </group> </config> Class VendorModuleModelStatus exists and manual test below works fine: <?php declare(strict_types=1); use MagentoFrameworkAppBootstrap; use… Read More »Cron class not found

set specific cron job time from admin

i want to create configuration from admin for this cron tab how we can do that? <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Cron:etc/crontab.xsd”> <group id=”order_product_report”> <job name=”order_product_report” instance=”abcabcCronOrderReport” method=”execute”> <schedule>* * * * *</schedule> </job> </group> </config>

Configure Debug Logging Type

As Magento throws info into system.log and debug.log I can see 3 different types Is it possible to disable main.INFO and main.DEBUG while keeping main.CRITICAL to avoid large file size for logging files.