Skip to content

Magento : List All Magento Cronjobs

here you go!

echo ‘<pre>’;
$kron = Mage::app()->getConfig()->getNode(‘crontab/jobs’);

print_r($kron);

here the example results

Mage_Core_Model_Config_Element Object
(
    [core_clean_cache] => Mage_Core_Model_Config_Element Object
        (
            [schedule] => Mage_Core_Model_Config_Element Object
                (
                    [cron_expr] => 30 2 * * *
                )

            [run] => Mage_Core_Model_Config_Element Object
                (
                    [model] => core/observer::cleanCache
                )

        )

    [currency_rates_update] => Mage_Core_Model_Config_Element Object
        (
            [run] => Mage_Core_Model_Config_Element Object
                (
                    [model] => directory/observer::scheduledUpdateCurrencyRates
                )

        )

    [catalog_product_index_price_reindex_all] => Mage_Core_Model_Config_Element Object
        (
            [schedule] => Mage_Core_Model_Config_Element Object
                (
                    [cron_expr] => 0 2 * * *
                )

            [run] => Mage_Core_Model_Config_Element Object
                (
                    [model] => catalog/observer::reindexProductPrices
                )

        )

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *