public function index() { $data['user'] = User::getCurrent(); $data['cronList'] = CronModel::getCronArray(); Template::setContext($data); Template::setView('admin/cron'); }
private function setNextRun($step) { Cron::setNextRun($this->cronId, $step); }