Code

bugfix: gosaTriggerd.pm, softupdate with wol
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Oct 2008 08:40:07 +0000 (08:40 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Oct 2008 08:40:07 +0000 (08:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12702 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index cdb57a3e351fa933b67137d2c6ccbe7487972d14..83d2f2637d94fe4516e41615163608076be55ac4 100755 (executable)
@@ -1500,7 +1500,7 @@ sub process_task {
 
                         # Sometimes the client is still booting or does not wake up, in this case reactivate the job (if it exists) with a delay of 30 sec
                         my $delay_timestamp = &calc_timestamp(&get_time(), "plus", 30);
-                        my $sql = "UPDATE $job_queue_tn Set timestamp='$delay_timestamp', status='waiting' WHERE (macaddress='$answer_target' AND header='$answer_header')"; 
+                        my $sql = "UPDATE $job_queue_tn Set timestamp='$delay_timestamp', status='waiting' WHERE (macaddress='$answer_target' AND headertag='$answer_header')"; 
                         my $res = $job_db->update_dbentry($sql);
                         daemon_log("$session_id INFO: '$answer_header'-job will be reactivated at '$delay_timestamp' ".
                                 "cause client '$answer_target' is currently not available", 5);