Skip to main content
Tweeted twitter.com/StackMagento/status/1193996976762830848
added 7 characters in body
Source Link
Abhishek Tripathi
  • 2.9k
  • 2
  • 21
  • 38

I'm using magento v2Magento version 2.2.5 and i'veI've created a cron job for my custom module, but it's often missed, first iI 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 iI 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

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

I'm using Magento version 2.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

Source Link
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