db->query("UPDATE `jobs` SET `progress`=". $this->db->escape($progress).$finished_at. " WHERE `id`=". $this->db->escape($job_id)); } }