From: janw Date: Wed, 10 Sep 2008 15:23:53 +0000 (+0000) Subject: Fix col. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d9062c4b34dc5a7bb1258bba8404dd7f7fac976d;p=gosa.git Fix col. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12405 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index d60875bfb..aa8590f95 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1723,8 +1723,9 @@ sub watch_for_new_jobs { my $res_2 = $job_db->exec_statement( $sql_statement_2 ); if(defined($res_2) and defined @{$res}[0]) { # Set status from goto-activation to 'waiting' and update timestamp - $job_db->exec_statement = "UPDATE $job_queue_tn SET status='waiting' WHERE macaddress LIKE '$macaddress' AND headertag = 'goto-activation'"; - $job_db->exec_statement = "UPDATE $job_queue_tn SET timestamp='".&get_time(30)."' WHERE macaddress LIKE '$macaddress' AND headertag = 'goto-activation'"; + $job_db->exec_statement = "UPDATE $job_queue_tn SET status='waiting' WHERE macaddress LIKE '$macaddress' AND headertag = 'trigger_action_reinstall'"; + $job_db->exec_statement = "UPDATE $job_queue_tn SET timestamp='".&get_time(30)."' WHERE macaddress LIKE '$macaddress' AND headertag = 'trigger_action_reinstall'"; + next; } } }