started with some frontend stuff

This commit is contained in:
HB9HIL
2024-04-25 16:37:17 +02:00
parent b3d6fabe2c
commit 51766ecc23
5 changed files with 70 additions and 6 deletions

View File

@@ -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')