diff --git a/pandora_console/include/functions_cron.php b/pandora_console/include/functions_cron.php
index 7895779e25..dd51e10cb3 100644
--- a/pandora_console/include/functions_cron.php
+++ b/pandora_console/include/functions_cron.php
@@ -600,45 +600,6 @@ function cron_list_table()
$data[0] = '';
}
- $data[1] = $task['id_usuario'];
- $data[2] = db_get_value(
- 'name',
- 'tuser_task',
- 'id',
- $task['id_user_task']
- );
-
- $args = unserialize($task['args']);
- $report = reports_get_report($args[0]);
-
- // Check ACL in reports_get_report return false.
- if ($report === false) {
- continue;
- }
-
- $path = $args[1];
- $data[2] .= '
- '.__('Report').": ".$report['name'].'';
- $data[2] .= '
- '.__('Path').': '.$path.'';
- break;
-
- case 'cron_task_save_xml_report_to_disk':
- case 'cron_task_save_json_report_to_disk':
- case 'cron_task_save_csv_report_to_disk':
-
- if ($write_perms || $manage_pandora) {
- $data[0] = '';
- $data[0] .= html_print_image(
- 'images/target.png',
- true,
- ['title' => __('Force run')]
- );
- $data[0] .= '';
- } else {
- $data[0] = '';
- }
-
$data[1] = $task['id_usuario'];
$data[2] = db_get_value('name', 'tuser_task', 'id', $task['id_user_task']);
$args = unserialize($task['args']);
@@ -650,9 +611,12 @@ function cron_list_table()
}
$path = $args[1];
+ $report_type = $args[3];
$data[2] .= '
- '.__('Report').": ".$report['name'].'';
$data[2] .= '
- '.__('Path').': '.$path.'';
+ $data[2] .= '
- '.__('Report type').': '.$report_type;
+
break;
case 'cron_task_do_backup':