public function getAllRunningSchedules($host = null)
    {
        $collection = Mage::getModel('cron/schedule')->getCollection();
        $collection->addFieldToFilter('status', Aoe_Scheduler_Model_Schedule::STATUS_RUNNING);
        if (!is_null($host)) {
            $collection->addFieldToFilter('host', $host);
        }
        return $collection;
    }
public function getAllRunningSchedules($host = null)
    {
        $collection = Mage::getModel('cron/schedule')->getCollection();
        $collection->addFieldToFilter('status', Aoe_Scheduler_Model_Schedule::STATUS_RUNNING);
        if (!is_null($host)) {
            $collection->addFieldToFilter('host', $host);
        }
        return $collection;
    }
public function getAllRunningSchedules ( $ host = null ) { $ collection = Mage :: getModel ( 'cron/schedule' ) -> getCollection ( ) ; $ collection -> addFieldToFilter ( 'status' , Aoe_Scheduler_Model_Schedule :: STATUS_RUNNING ) ; if ( ! is_null ( $ host ) ) { $ collection -> addFieldToFilter ( 'host' , $ host ) ; } return $ collection ; }
Get all schedules running on this server

@param string $host
@return object
Get all schedules running on this server