0

I have written job code on crontab.xml

<job name="vendor_out_for_delivery_notifiation" instance="Bakeway\VendorNotification\Helper\Data" method="sendPushNotificationForUpcomingOrderCron">
        <schedule>0 */21 * * </schedule>
</job>

I have given 9pm of every night but its not working entries is not going in to cron_schedule table.

I have created custom group of this cron.

<group id="vendor_notification_cron_group">


php bin/magento cron:run --group="vendor_notification_cron_group"

Please reply if you have any solution.

1

1 Answer 1

1

There is a star missing. Try:

<schedule>0 */21 * * *</schedule>

or better:

<schedule>0 21 * * *</schedule>
2
  • Yes , i had tried same but it is not working cron is not working @9pm. May 9, 2018 at 5:10
  • May be its bug of Magento 2 May 9, 2018 at 5:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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