summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 363a88d)
raw | patch | inline | side by side (parent: 363a88d)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Mar 2009 17:17:19 +0000 (17:17 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Mar 2009 17:17:19 +0000 (17:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13547 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index a6daf3fe11c0202a8767961dbb0858fcc11a3bc2..932f2878fbe313108db5e418d02caab8ae9b14f4 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
$watch_for_new_jobs_in_progress = 1;
my ($kernel,$heap) = @_[KERNEL, HEAP];
- # check gosa job quaeue for jobs with executable timestamp
+ # check gosa job queue for jobs with executable timestamp
my $timestamp = &get_time();
- my $sql_statement = "SELECT * FROM $job_queue_tn WHERE status='waiting' AND (CAST(timestamp AS UNSIGNED)) < $timestamp ORDER BY timestamp";
+ my $sql_statement = "SELECT * FROM $job_queue_tn WHERE siserver='localhost' AND status='waiting' AND (CAST(timestamp AS UNSIGNED)) < $timestamp ORDER BY timestamp";
my $res = $job_db->exec_statement( $sql_statement );
# Merge all new jobs that would do the same actions
if (not defined $ldap_handle) {
daemon_log("$session_id INFO: ldap handle for $caller_text not available");
}
- daemon_log("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
return $ldap_handle;
}
sub release_ldap_handle {
my ($ldap_handle) = @_ ;
$ldap_pool->free($ldap_handle);
- daemon_log("0 INFO: ldap handle released!\n-------------------------------------------------------------------------------");
return;
}