diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-04 18:06:43 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-04 18:06:43 +0300 |
| commit | 5263a07f61698eb26e0482129d66c5ab4be1c9c5 (patch) | |
| tree | 2b8b58cc141325a5bff5ebcefedafac52a626fbb /classes/Pref_System.php | |
| parent | fc059fc0fc85d0bfbc74f6984fc10e857d21df6c (diff) | |
record last cron expression (and stub owner_uid) used by scheduled task
Diffstat (limited to 'classes/Pref_System.php')
| -rw-r--r-- | classes/Pref_System.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/Pref_System.php b/classes/Pref_System.php index c5d7ab606..7946dc293 100644 --- a/classes/Pref_System.php +++ b/classes/Pref_System.php @@ -33,6 +33,7 @@ class Pref_System extends Handler_Administrative { <table width='100%' class='event-log'> <tr> <th><?= __("Task name") ?></th> + <th><?= __("Schedule") ?></th> <th><?= __("Last executed") ?></th> <th><?= __("Duration (seconds)") ?></th> <th><?= __("Return code") ?></th> @@ -40,6 +41,7 @@ class Pref_System extends Handler_Administrative { <?php $task_records = ORM::for_table('ttrss_scheduled_tasks') + ->order_by_asc(['last_cron_expression', 'task_name']) ->find_many(); foreach ($task_records as $task) { @@ -48,6 +50,7 @@ class Pref_System extends Handler_Administrative { ?> <tr> <td class="<?= $row_style ?>"><?= $task->task_name ?></td> + <td><?= $task->last_cron_expression ?></td> <td><?= TimeHelper::make_local_datetime($task->last_run) ?></td> <td><?= $task->last_duration ?></td> <td><?= $task->last_rc ?></td> |