mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix cron job naming
This commit is contained in:
@@ -113,7 +113,7 @@ class Debug extends CI_Controller
|
||||
$data['tle_update'] = $this->cron_model->cron('update_update_tle')->row();
|
||||
$data['hon_update'] = $this->cron_model->cron('update_update_hamsofnote')->row();
|
||||
$data['hamqsl_update'] = $this->cron_model->cron('update_update_hamqsl')->row();
|
||||
$data['vucc_grids_update'] = $this->cron_model->cron('update_update_vucc_grids')->row();
|
||||
$data['vucc_grids_update'] = $this->cron_model->cron('vucc_grid_file')->row();
|
||||
|
||||
$data['page_title'] = __("Debug");
|
||||
|
||||
|
||||
@@ -628,9 +628,8 @@ class Update_model extends CI_Model {
|
||||
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->cron_model->set_last_run('vucc_grid_file');
|
||||
|
||||
// $url = 'https://sourceforge.net/p/trustedqsl/tqsl/ci/master/plain/apps/vuccgrids.dat';
|
||||
$url = 'https://sourceforge.net/p/trustedqsl/tqsl/ci/master/tree/apps/vuccgrids.dat?format=raw';
|
||||
$curl = curl_init($url);
|
||||
|
||||
|
||||
@@ -571,7 +571,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?= __("VUCCGrids"); ?></td>
|
||||
<td><?php echo $vuccgrids_update->last_run ?? __("never"); ?></td>
|
||||
<td><?php echo $vucc_grids_update->last_run ?? __("never"); ?></td>
|
||||
<td><a class="btn btn-sm btn-primary" href="<?php echo site_url('update/update_vucc_grids'); ?>"><?= __("Update"); ?></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user