Commit 15c30f87a1cf11d6e11ff8dfbc1b5e77092aab8a

Authored by Conrad Vermeulen
1 parent 24c349a1

KTS-2588

"ktdmsScheduler not starting automatically after install"
Fixed. An explicit call is made to start the scheduler

Committed By: Conrad Vermeulen
Reviewed By: Kevin Fourie



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7567 c91229c3-7414-0410-bfa2-8a42b809f60b
bin/win32/installScheduler.php
1 <?php 1 <?php
2 2
3 $scriptPath = realpath(dirname(__FILE__) . '/taskrunner.bat'); 3 $scriptPath = realpath(dirname(__FILE__) . '/taskrunner.bat');
4 -  
5 -win32_create_service(array( 4 +
  5 +win32_create_service(array(
6 'service' => 'ktscheduler', 6 'service' => 'ktscheduler',
7 'display' => 'ktdmsScheduler', 7 'display' => 'ktdmsScheduler',
8 'path' => $scriptPath 8 'path' => $scriptPath
9 )); 9 ));
10 10
  11 +win32_start_service('ktscheduler');
  12 +
11 ?> 13 ?>