Commit 08a5d6d8f13f29d4b61322a1609ec89c57e51113

Authored by kevin_fourie
1 parent 7ba62b6a

Merged in from STABLE trunk...

SUP-946
"Scheduler in windows server 2003 fails"
Fixed. Removed the code logging errors to the windows event viewer.

Committed By: Conrad Vermeulen
Reviewed By: Megan Watson


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.3-Release-Branch@8860 c91229c3-7414-0410-bfa2-8a42b809f60b
bin/win32/schedulerService.php
@@ -86,7 +86,6 @@ while(!$bTableExists){ @@ -86,7 +86,6 @@ while(!$bTableExists){
86 $bTableExists = true; 86 $bTableExists = true;
87 continue; 87 continue;
88 default: 88 default:
89 - win32_set_service_status(WIN32_ERROR_CALL_NOT_IMPLEMENTED); // Add more cases to handle other service calls  
90 } 89 }
91 90
92 $default->log->info("Scheduler Service: Checking if the scheduler_tasks table exists."); 91 $default->log->info("Scheduler Service: Checking if the scheduler_tasks table exists.");
@@ -126,7 +125,6 @@ while ($loop) @@ -126,7 +125,6 @@ while ($loop)
126 $loop = false; // Terminate script 125 $loop = false; // Terminate script
127 continue; 126 continue;
128 default: 127 default:
129 - win32_set_service_status(WIN32_ERROR_CALL_NOT_IMPLEMENTED); // Add more cases to handle other service calls  
130 } 128 }
131 // Run the scheduler script 129 // Run the scheduler script
132 $cmd = "\"$phpPath\" \"$dir/scheduler.php\""; 130 $cmd = "\"$phpPath\" \"$dir/scheduler.php\"";