triggerEvent('cronRun'); // Update time of last cron run Settings::set('_last_cron_run', time()); Settings::update(); if (!$quiet) { // TODO: May be localize it echo('All cron jobs done.'); }