I've written a custom module and this module has to run every day at 12:30 AM. I've written a cron job and in the schedule I've update as follows:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd"> <group id="default"> <job name="daily_report" instance="mymodule\Mail\Cron\SendEmail" method="execute"> <schedule>30 00 * * *</schedule> </job> </group> </config>
Apparently this job is not running. I can't see any entries in cron_schedule schedule table as well.
When I change the schedule to every minute, this job is working fine. What am I doing wrong?