Commit 2fa5885ee79d25896c1134467682673530721c8d

Authored by Conrad Vermeulen
1 parent f3ff2a13

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/trunk@8858 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\"";