mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
cron stuff
This commit is contained in:
@@ -11,4 +11,13 @@ class Cron_model extends CI_Model
|
||||
|
||||
return $results;
|
||||
}
|
||||
|
||||
function set_last_run($cron) {
|
||||
$data = array(
|
||||
'last_run' => date('Y-m-d H:i:s')
|
||||
);
|
||||
|
||||
$this->db->where('id', $cron);
|
||||
$this->db->update('cron', $data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user