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? Nov 29, 2018 at 11:20
  • yes but entry not found in cron schedule table Nov 29, 2018 at 11:21
  • Did you set magento2 cron properly? Otherwise it will not work. Nov 29, 2018 at 11:21
  • The most recent entries would be there. It might be deleted I hope. Nov 29, 2018 at 11:22

1 Answer 1

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 and acknowledge you have read our privacy policy.

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