diff --git a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php
index d0c5da17fb..e135c80672 100644
--- a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php
+++ b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php
@@ -292,8 +292,13 @@ class DiscoveryTaskList extends Wizard
$data[7] = ui_print_timestamp($task['utimestamp'], true);
if (check_acl($config['id_user'], $task['id_group'], 'PM')) {
+ // Check if is a H&D, Cloud or Application.
$data[8] = ''.html_print_image(
'images/wrench_orange.png',
true
@@ -348,4 +353,24 @@ class DiscoveryTaskList extends Wizard
}
+ /**
+ * Return target url sub-string to edit target task.
+ *
+ * @param array $task With all data.
+ *
+ * @return string
+ */
+ public function getTargetWiz($task)
+ {
+ // TODO: Do not use description. Use recon_script ID instead.
+ switch ($task['description']) {
+ case 'Discovery.Application.VMware':
+ return 'wiz=app&mode=vmware';
+
+ default:
+ return 'wiz=hd&mode=netscan';
+ }
+ }
+
+
}
diff --git a/pandora_console/godmode/wizards/Wizard.main.php b/pandora_console/godmode/wizards/Wizard.main.php
index 2f58bea91e..31e494a737 100644
--- a/pandora_console/godmode/wizards/Wizard.main.php
+++ b/pandora_console/godmode/wizards/Wizard.main.php
@@ -80,6 +80,52 @@ class Wizard
}
+ /**
+ * Setter for label
+ *
+ * @param string $str Label.
+ *
+ * @return void
+ */
+ public function setLabel(string $str)
+ {
+ $this->label = $str;
+ }
+
+
+ /**
+ * Getter for label
+ *
+ * @return array Breadcrum.
+ */
+ public function getLabel()
+ {
+ return $this->label;
+ }
+
+
+ /**
+ * Builder for breadcrum
+ *
+ * @param array $urls Array of urls to be stored in breadcrum.
+ *
+ * @return void
+ */
+ public function prepareBreadcrum(array $urls)
+ {
+ $bc = [];
+ $i = 0;
+ foreach ($urls as $url) {
+ $bc[$i] = '';
+ $bc[$i] .= '
* * * * * <user> wget -q -O - --no-check-certificate '; $message_conf_cron .= str_replace( ENTERPRISE_DIR.'/meta/', @@ -2116,6 +2116,7 @@ class ConsoleSupervisor if (isset($config['cron_last_run']) === true) { $message_conf_cron .= __('Last execution').': '; $message_conf_cron .= date('Y/m/d H:i:s', $config['cron_last_run']); + $message_conf_cron .= __('Please check process is no locked.'); } $this->notify(