getNode('crontab/jobs')->asArray(); foreach ($config as $key => $job) { printf("%-15s%-30s\n", "Job:", $key); foreach ($job as $schjob) { if (array_key_exists("cron_expr", $schjob)) { printf("%-15s%-30s\n", "Schedule:", $schjob['cron_expr']); } if (array_key_exists("model", $schjob)) { printf("%-15s%-30s\n", "Model:", $schjob['model']); } } print("\n"); } $config = Mage::getConfig()->getNode('default/crontab/jobs')->asArray(); foreach ($config as $key => $job) { printf("%-15s%-30s\n", "Job:", $key); foreach ($job as $schjob) { if (array_key_exists("cron_expr", $schjob)) { printf("%-15s%-30s\n", "Schedule:", $schjob['cron_expr']); } if (array_key_exists("model", $schjob)) { printf("%-15s%-30s\n", "Model:", $schjob['model']); } } print("\n"); } } getCronJobs(); ?>