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