Magento 1.9 Cron Schedule – Why Cron_Schedule Table is Empty?

ce-1.9.2.4cronevent-observermagento-1.9schedule

I'm trying to run my custom module that setup two cronjobs. Here is my config.xml file.

<config>
    <global>
        <models>
            <RLTS_Certification>
                <class>RLTS_Certification_Model</class>
            </RLTS_Certification>
        </models>
    </global>
    <crontab>
        <jobs>
            <certi_status_update>
                <schedule>
                    <cron_expr>*/2 * * * *</cron_expr>
                </schedule>
                <run>
                    <model>RLTS_Certification/StatusHelper::updateCertiStatus</model>
                </run>
            </certi_status_update>

            <certi_renewal_reminder>
                <schedule>
                    <cron_expr>*/2 * * * *</cron_expr>
                </schedule>
                <run>
                    <model>RLTS_Certification/StatusHelper::certiRenewalReminder</model>
                </run>
            </certi_renewal_reminder>           
        </jobs>
    </crontab>
</config>

My cronjobs are not visible in cron_schedule table. One more thing is, that table is empty. What I need to do to setup these cronjobs?

Best Answer

In your local system, you have to use your browser to run http://yourdomain.com/cron.php or php-cli to execute cron.php in the root of the application.

Related Topic