Code

* gosa-si-server-nobus
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Jun 2008 14:39:20 +0000 (14:39 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Jun 2008 14:39:20 +0000 (14:39 +0000)
* under construction

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11220 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server
gosa-si/server/events/clMessages.pm

index 2aa5404fbde4d0e12dad02f6fedff655ca172a42..acd69d35d3dcbd4f0a8ff60928d9323e5d93de3f 100755 (executable)
@@ -1801,7 +1801,7 @@ sub watch_for_next_tasks {
         my $res = $incoming_db->exec_statement($sql);
     }
 
-    $kernel->delay_set('watch_for_next_tasks', 1); 
+    $kernel->delay_set('watch_for_next_tasks', 0.1); 
 }
 
 
index 02104d105fd61f2eb585763c5d533149d6de007c..0faea11c17d6d95e2007c29dd90fda486c114e95 100644 (file)
@@ -331,7 +331,10 @@ sub TASKBEGIN {
     $header =~ s/CLMSG_//g;
 
     # TASKBEGIN eq finish or faiend 
-    if (($content eq 'finish') || ($content eq 'faiend')){
+    if (($content eq 'finish') 
+                       || ($content eq 'faiend')
+                       || ($content eq 'savelog')
+                       ) {
         my $sql_statement = "UPDATE $main::job_queue_tn ".
             "SET status='done', result='$header "."$content' ".
             "WHERE status='processing' AND macaddress LIKE '$macaddress'"; 
@@ -343,7 +346,10 @@ sub TASKBEGIN {
         &main::change_fai_state('localboot', \@{$msg_hash->{'macaddress'}}, $session_id);
 
        # TASKBEGIN eq chboot
-       } elsif ($content eq 'chboot') {
+       } elsif (($content eq 'chboot')
+               || ($content eq 'test')
+               || ($content eq 'confdir')
+               ) {
                # just ignor this client message
                # do nothing