2

Custom Cron job is not working in Magento 2 when the schedule set like below:

<schedule>30 17 * * 0</schedule>

Only working when <schedule>* * * * *</schedule> in magento 2.2.5

4
  • 1
    It will only be fired on sunday.. did you notice that? – Himmat Paliwal Nov 29 '18 at 11:20
  • yes but entry not found in cron schedule table – Birjitsinh Zala Nov 29 '18 at 11:21
  • Did you set magento2 cron properly? Otherwise it will not work. – Sukumar Gorai Nov 29 '18 at 11:21
  • The most recent entries would be there. It might be deleted I hope. – Himmat Paliwal Nov 29 '18 at 11:22
2

Set any cron schedule of next half an hour and check entry in cron_schedule table. It would be available there when you run below command:

php bin/magento cron:run

I hope it will help you out.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.