Skip to content

magento man

Magento 2: I need to run observer function through Cron job

I want to run an observer function through a Cron job. Can anyone share the simple observer function.? Here is my code <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Cron:etc/crontab.xsd”> <group id=”default”> <job name=”abandon_cron_test” instance=”AbcAbandonObserverAbandon” method=”execute”> <schedule>* * * * *</schedule> </job> </group> </config> Observer… Read More »Magento 2: I need to run observer function through Cron job

Magento 2 – Could not find package magento/project-enterprise-edition with version 2.4.4-p3

I had an issue as below Could not find package magento/project-enterprise-edition with version 2.4.4-p3 Which happen when I run below command to install the fresh project composer create-project –repository-url=https://repo.magento.com/ magento/project-enterprise-edition=2.4.4-p3 magento2-commerce I have try many fix as below which does… Read More »Magento 2 – Could not find package magento/project-enterprise-edition with version 2.4.4-p3