From: rettenbe Date: Wed, 15 Oct 2008 08:40:07 +0000 (+0000) Subject: bugfix: gosaTriggerd.pm, softupdate with wol X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=253848ff3b34acc87aac49249b5dd5aabdd4dc68;p=gosa.git bugfix: gosaTriggerd.pm, softupdate with wol git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12702 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index cdb57a3e3..83d2f2637 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -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);