Skip to main content
1 of 2
jojo
  • 79
  • 1
  • 8
  • 40

Magento 2 Custom Module Cron Job often missed

I'm using magento v2.2.5 and i've created a cron job for my custom module, but it's often missed, first i setup the cron to run every 5 minutes

<group id="default"> <job instance="Custom\Module\Cron\SyncTransaction" method="execute" name="lime_sepulsa_synctransaction"> <schedule>*/5 * * * *</schedule> </job> </group> 

enter image description here

then i tried to fix it by setting up the cron to run every minute, but still got the same result

<group id="default"> <job instance="Custom\Module\Cron\SyncTransaction" method="execute" name="lime_sepulsa_synctransaction"> <schedule>* * * * *</schedule> </job> </group> 

enter image description here

jojo
  • 79
  • 1
  • 8
  • 40