I've written a custom module and the module has to run every Wednesday at 07:10. I've written a cron job and in the schedule. Below is the code added in crontab.xml
<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd"> <group id="Vendorname_Modulename"> <job name="Vendorname_Modulename" instance="Netelixir\ProductFeed\Cron\Testcron" method="execute"> <schedule>00-10 7 * * 3</schedule> </job> </group> </config>
The cron job is not working as expected. The cron is working only when it's scheduled to run every minute or 5 minutes or 30 minutes. But not at a particular time. Can anyone help me with this scenario?