Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Why does magento generate two same cron jobs? 
 
jonasms2009
Jr. Member
 
Total Posts:  7
Joined:  2011-03-15
 

crontab: run cron.php every 5 minutes;

config.xml

<crontab>
    <
jobs>
            <
my_send_all>
                <
schedule><cron_expr>20 2 * * *</cron_expr></schedule>
                    <
run><model>psteal/observer_psteal::updatefrommagento</model></run>
            </
my_send_all
    </
jobs>
</
crontab>

The generated data in DB ,TABLE is cron_schedule:

job_code status messages created_at scheduled_at

my_send_all pending NULL 2013-01-25 02:18:46 2013-01-25 02:20:00

my_send_all pending NULL 2013-01-25 02:18:46 2013-01-25 02:27:00

I don’t know why magento generates two same cron jobs?It should be only one job(at 2013-01-25 02:20:00) ,Any ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top