index 486a6e2a43a28aed8c1c5017772471d3b9a090f3..576fca207dfcbbdbc274c9efef6372221451b429 100644 (file)
}
}
- # in case of no and more than one running jobs in queue, add on single job
+ # in case of no and more than one running jobs in queue, add one single job
+
+# TODO
+ # resolve plain name for host $macaddress
&main::daemon_log("$session_id DEBUG: add job to queue for host '$macaddress'", 7);
my $func_dic = {table=>$main::job_queue_tn,
- primkey=>['id'],
+ primkey=>[],
timestamp=>&get_time,
status=>'processing',
result=>"$header $content",
targettag=>$source,
xmlmessage=>'none',
macaddress=>$macaddress,
+ plainname=>'none',
};
my ($err, $error_str) = $main::job_db->add_dbentry($func_dic);
if ($err != 0) {