Commit b7d05020d50e61062b61b7c178f2e0accd8bb6dc

Authored by kevin_fourie
1 parent 84faa48e

Merged in from DEV trunk...

KTS-2525
"Create windows service to wrap around scheduler"
Updated. Logging to error on start was changed to log to info.

Committed By: Kevin Fourie
Reviewed By: Conrad Vermeulen

KTS-2588
"ktdmsScheduler not starting automatically after install"
Updated. Moved the service start back to the installer and added a delay.

Committed By: Kevin Fourie
Reviewed By: Conrad Vermeulen



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@7585 c91229c3-7414-0410-bfa2-8a42b809f60b
bin/win32/installScheduler.php
@@ -8,6 +8,6 @@ win32_create_service(array( @@ -8,6 +8,6 @@ win32_create_service(array(
8 'path' => $scriptPath 8 'path' => $scriptPath
9 )); 9 ));
10 10
11 -win32_start_service('ktscheduler'); 11 +//win32_start_service('ktscheduler');
12 12
13 ?> 13 ?>
bin/win32/schedulerService.php
@@ -27,7 +27,7 @@ if (!is_file($phpPath)) @@ -27,7 +27,7 @@ if (!is_file($phpPath))
27 exit; 27 exit;
28 } 28 }
29 29
30 -$default->log->error("Scheduler Service: starting main loop"); 30 +$default->log->info("Scheduler Service: starting main loop");
31 31
32 $loop = true; 32 $loop = true;
33 // Main Scheduler Service Loop 33 // Main Scheduler Service Loop
@@ -64,4 +64,4 @@ win32_set_service_status(WIN32_SERVICE_STOPPED); @@ -64,4 +64,4 @@ win32_set_service_status(WIN32_SERVICE_STOPPED);
64 64
65 $default->log->error("Scheduler Service: exiting main loop"); 65 $default->log->error("Scheduler Service: exiting main loop");
66 66
67 -?>  
68 \ No newline at end of file 67 \ No newline at end of file
  68 +?>