Added cron job and debug button

This commit is contained in:
Andreas Kristiansen
2025-10-19 08:00:31 +02:00
parent 0ba4c8bd9c
commit e5dab05b02
4 changed files with 36 additions and 0 deletions

View File

@@ -706,6 +706,10 @@ class Update extends CI_Controller {
}
public function update_vucc_grids() {
// set the last run in cron table for the correct cron id
$this->load->model('cron_model');
$this->cron_model->set_last_run($this->router->class . '_' . $this->router->method);
$this->load->model('Update_model');
$this->Update_model->update_vucc_grids();
}