Commit 4dcb3e555375902b75a6ebbb146c043600037725
1 parent
7c352f41
Daily Commit
Committed by: Jarrett Jordaan Reviewed by: Philip Arkcoll
Showing
13 changed files
with
96 additions
and
52 deletions
setup/migrate/config/commercial_config.xml
| @@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
| 11 | <steps> | 11 | <steps> |
| 12 | <step name="Current Installation">installation</step> | 12 | <step name="Current Installation">installation</step> |
| 13 | <step name="Database Export">database</step> | 13 | <step name="Database Export">database</step> |
| 14 | - <step name="Pre Migration">services</step> | 14 | + <step name="Deactivate Services">services</step> |
| 15 | <step name="Complete">complete</step> | 15 | <step name="Complete">complete</step> |
| 16 | </steps> | 16 | </steps> |
| 17 | </migrate> | 17 | </migrate> |
| 18 | \ No newline at end of file | 18 | \ No newline at end of file |
setup/migrate/config/community_config.xml
| @@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
| 11 | <steps> | 11 | <steps> |
| 12 | <step name="Current Installation">installation</step> | 12 | <step name="Current Installation">installation</step> |
| 13 | <step name="Database Export">database</step> | 13 | <step name="Database Export">database</step> |
| 14 | - <step name="Pre Migration">services</step> | 14 | + <step name="Deactivate Services">services</step> |
| 15 | <step name="Complete">complete</step> | 15 | <step name="Complete">complete</step> |
| 16 | </steps> | 16 | </steps> |
| 17 | </migrate> | 17 | </migrate> |
| 18 | \ No newline at end of file | 18 | \ No newline at end of file |
setup/migrate/steps/migrateComplete.php
| @@ -96,8 +96,8 @@ class migrateComplete extends Step { | @@ -96,8 +96,8 @@ class migrateComplete extends Step { | ||
| 96 | $sqlFile = $database['dumpLocation']; | 96 | $sqlFile = $database['dumpLocation']; |
| 97 | if(file_exists($sqlFile)) { | 97 | if(file_exists($sqlFile)) { |
| 98 | $this->temp_variables['sql']['class'] = "tick"; | 98 | $this->temp_variables['sql']['class'] = "tick"; |
| 99 | - $this->temp_variables['sql']['name'] = "dms.sql"; | ||
| 100 | - $this->temp_variables['sql']['msg'] = "Data file created"; | 99 | + $this->temp_variables['sql']['name'] = "";//dms.sql |
| 100 | + $this->temp_variables['sql']['msg'] = $sqlFile; | ||
| 101 | return true; | 101 | return true; |
| 102 | } else { | 102 | } else { |
| 103 | $this->temp_variables['sql']['class'] = "cross"; | 103 | $this->temp_variables['sql']['class'] = "cross"; |
setup/migrate/steps/migrateDatabase.php
| @@ -168,9 +168,9 @@ class migrateDatabase extends Step | @@ -168,9 +168,9 @@ class migrateDatabase extends Step | ||
| 168 | } | 168 | } |
| 169 | $cmd = $exe.' -u"'.$dbAdminUser.'" -p"'.$dbAdminPass.'" --port="'.$port.'" '.$dbName.' > '.$sqlFile; | 169 | $cmd = $exe.' -u"'.$dbAdminUser.'" -p"'.$dbAdminPass.'" --port="'.$port.'" '.$dbName.' > '.$sqlFile; |
| 170 | if($noFile) { | 170 | if($noFile) { |
| 171 | - $this->error[]['error'] = "The KnowledgeTree Setup Wizard was unable to connect to your KnowledgeTree 3.6.1 database"; | 171 | + $this->error[]['error'] = "The KnowledgeTree Setup Wizard was unable to connect to your KnowledgeTree 3.6.1 database."; |
| 172 | $this->error[]['msg'] = "Please ensure that all KnowledgeTree Services are running."; | 172 | $this->error[]['msg'] = "Please ensure that all KnowledgeTree Services are running."; |
| 173 | - $this->error[]['cmd'] = "<p class=\"description\">Click <b>Next</b> after resolving the above errors.</p>"; | 173 | + $this->error[]['cmd'] = "Click <b>Next</b> after resolving the above errors."; |
| 174 | $this->temp_variables['manual_export'] = ""; | 174 | $this->temp_variables['manual_export'] = ""; |
| 175 | } else { | 175 | } else { |
| 176 | $this->error[]['error'] = "Could not export database:"; | 176 | $this->error[]['error'] = "Could not export database:"; |
setup/migrate/steps/migrateServices.php
| @@ -291,7 +291,7 @@ class migrateServices extends Step | @@ -291,7 +291,7 @@ class migrateServices extends Step | ||
| 291 | $this->temp_variables['services'][$serv->getName()]['msg'] = "Service has been uninstalled"; | 291 | $this->temp_variables['services'][$serv->getName()]['msg'] = "Service has been uninstalled"; |
| 292 | } | 292 | } |
| 293 | $this->temp_variables['services'][$serv->getName()]['class'] = $state; | 293 | $this->temp_variables['services'][$serv->getName()]['class'] = $state; |
| 294 | - $this->temp_variables['services'][$serv->getName()]['name'] = $serv->getName(); | 294 | + $this->temp_variables['services'][$serv->getName()]['name'] = $serv->getHRName(); |
| 295 | } | 295 | } |
| 296 | if(!$this->checkMysql()) { | 296 | if(!$this->checkMysql()) { |
| 297 | return false; | 297 | return false; |
| @@ -326,13 +326,21 @@ class migrateServices extends Step | @@ -326,13 +326,21 @@ class migrateServices extends Step | ||
| 326 | } | 326 | } |
| 327 | if($running) { | 327 | if($running) { |
| 328 | $this->temp_variables['services']['KTMysql']['class'] = "cross"; | 328 | $this->temp_variables['services']['KTMysql']['class'] = "cross"; |
| 329 | - $this->temp_variables['services']['KTMysql']['name'] = "KTMysql"; | 329 | + if(WINDOWS_OS) { |
| 330 | + $this->temp_variables['services']['KTMysql']['name'] = "KnowledgeTree Mysql Service. (KTMysql)"; | ||
| 331 | + } else { | ||
| 332 | + $this->temp_variables['services']['KTMysql']['name'] = "KnowledgeTree Mysql Service."; | ||
| 333 | + } | ||
| 330 | $this->temp_variables['services']['KTMysql']['msg'] = "Service Running"; | 334 | $this->temp_variables['services']['KTMysql']['msg'] = "Service Running"; |
| 331 | $this->error[] = "Service : KTMysql running.<br/>"; | 335 | $this->error[] = "Service : KTMysql running.<br/>"; |
| 332 | return false; | 336 | return false; |
| 333 | } else { | 337 | } else { |
| 334 | $this->temp_variables['services']['KTMysql']['class'] = "tick"; | 338 | $this->temp_variables['services']['KTMysql']['class'] = "tick"; |
| 335 | - $this->temp_variables['services']['KTMysql']['name'] = "KTMysql"; | 339 | + if(WINDOWS_OS) { |
| 340 | + $this->temp_variables['services']['KTMysql']['name'] = "KnowledgeTree Mysql Service. (KTMysql)"; | ||
| 341 | + } else { | ||
| 342 | + $this->temp_variables['services']['KTMysql']['name'] = "KnowledgeTree Mysql Service."; | ||
| 343 | + } | ||
| 336 | $this->temp_variables['services']['KTMysql']['msg'] = "Service has been uninstalled"; | 344 | $this->temp_variables['services']['KTMysql']['msg'] = "Service has been uninstalled"; |
| 337 | return true; | 345 | return true; |
| 338 | } | 346 | } |
setup/migrate/templates/complete.tpl
| 1 | <form action="index.php?step_name=<?php echo $step_name; ?>" method="post" id="<?php echo $step_name; ?>"> | 1 | <form action="index.php?step_name=<?php echo $step_name; ?>" method="post" id="<?php echo $step_name; ?>"> |
| 2 | <p class="title">Migration Completed</p> | 2 | <p class="title">Migration Completed</p> |
| 3 | 3 | ||
| 4 | - <p class="description">This allows you to check that your KnowledgeTree configuration is set | ||
| 5 | - up correctly. You can run this at any time after configuration to check | ||
| 6 | - that things are still set up correctly.</p> | 4 | + <p class="description">Your database migration was successfully completed. Please check the section below for details of the migration and final instructions</p> |
| 7 | 5 | ||
| 8 | <?php | 6 | <?php |
| 9 | if($errors || $warnings){ | 7 | if($errors || $warnings){ |
| @@ -13,59 +11,64 @@ | @@ -13,59 +11,64 @@ | ||
| 13 | } | 11 | } |
| 14 | ?> | 12 | ?> |
| 15 | <div id="step_content_<?php echo $step_name; ?>" class="step"> | 13 | <div id="step_content_<?php echo $step_name; ?>" class="step"> |
| 14 | + | ||
| 16 | <!-- SQL --> | 15 | <!-- SQL --> |
| 17 | - <h3>Exported Database</h3> | ||
| 18 | - <table> | ||
| 19 | - <tr> | ||
| 20 | - <td> <span class='<?php echo $sql['class']; ?>'> </span> </td> | ||
| 21 | - <td style="width:25%;"> <?php echo $sql['name']; ?> </td> | ||
| 22 | - <td style="width:75%;"> <?php echo $sql['msg']; ?> </td> | ||
| 23 | - <tr> | ||
| 24 | - </table> | 16 | + <h3>KnowledgeTree database successfully exported</h3> |
| 17 | + <span class='<?php echo $sql['class']; ?>'> </span><?php echo $sql['msg']; ?> | ||
| 18 | + <br /><br /> | ||
| 19 | + <h3>Start new MySQL service</h3> | ||
| 20 | + In order to complete the upgrade process please start the Zend Server MySQL process (<a href="http://wiki.knowledgetree.com/Web_Based_Migrater#Post_Migrate" target="_blank">Click here for help</a>). | ||
| 21 | +<!-- <table>--> | ||
| 22 | +<!-- <tr>--> | ||
| 23 | +<!-- <td> <span class='<?php //echo $sql['class']; ?>'> </span> </td>--> | ||
| 24 | +<!-- <td style="width:25%;"> <?php //echo $sql['name']; ?> </td>--> | ||
| 25 | +<!-- <td style="width:75%;"> <?php //echo $sql['msg']; ?> </td>--> | ||
| 26 | +<!-- <tr>--> | ||
| 27 | +<!-- </table>--> | ||
| 25 | <!-- Services --> | 28 | <!-- Services --> |
| 26 | - <h3>Uninstalled Services</h3> | ||
| 27 | - <table> | 29 | +<!-- <h3>Uninstalled Services</h3>--> |
| 30 | +<!-- <table>--> | ||
| 28 | <?php | 31 | <?php |
| 29 | - if(isset($step_vars['services'])) { | ||
| 30 | - foreach ($step_vars['services'] as $ser){ | 32 | +// if(isset($step_vars['services'])) { |
| 33 | +// foreach ($step_vars['services'] as $ser){ | ||
| 31 | ?> | 34 | ?> |
| 32 | - <tr> | ||
| 33 | - <td> <span class='<?php echo $ser['class']; ?>'> </span> </td> | ||
| 34 | - <td style="width:25%;"> <?php echo $ser['name']; ?> </td> | ||
| 35 | - <td style="width:75%;"> <?php echo $ser['msg']; ?> </td> | ||
| 36 | - <?php if ($ser['class'] != 'tick') { | 35 | +<!-- <tr>--> |
| 36 | +<!-- <td> <span class='<?php //echo $ser['class']; ?>'> </span> </td>--> | ||
| 37 | +<!-- <td style="width:25%;"> <?php //echo $ser['name']; ?> </td>--> | ||
| 38 | +<!-- <td style="width:75%;"> <?php //echo $ser['msg']; ?> </td>--> | ||
| 39 | + <?php //if ($ser['class'] != 'tick') { | ||
| 37 | ?> | 40 | ?> |
| 38 | <!-- <td><a href="javascript:this.location.reload();" class="refresh">Refresh</a></td>--> | 41 | <!-- <td><a href="javascript:this.location.reload();" class="refresh">Refresh</a></td>--> |
| 39 | <?php | 42 | <?php |
| 40 | - } ?> | ||
| 41 | - </tr> | 43 | + //} ?> |
| 44 | +<!-- </tr>--> | ||
| 42 | <?php | 45 | <?php |
| 43 | - } | ||
| 44 | - } | 46 | +// } |
| 47 | +// } | ||
| 45 | ?> | 48 | ?> |
| 46 | - </table> | 49 | +<!-- </table>--> |
| 47 | <!-- Paths --> | 50 | <!-- Paths --> |
| 48 | - <h3>System Path</h3> | ||
| 49 | - <table> | 51 | +<!-- <h3>System Path</h3>--> |
| 52 | +<!-- <table>--> | ||
| 50 | <?php | 53 | <?php |
| 51 | - if(isset($step_vars['paths'])) { | ||
| 52 | - foreach ($step_vars['paths'] as $path){ | 54 | +// if(isset($step_vars['paths'])) { |
| 55 | +// foreach ($step_vars['paths'] as $path){ | ||
| 53 | ?> | 56 | ?> |
| 54 | - <tr> | ||
| 55 | - <td> <span class='<?php echo $path['class']; ?>'> </span> </td> | ||
| 56 | - <td style="width:25%;"> <?php echo $path['name']; ?> </td> | ||
| 57 | - <td style="width:75%;"> <?php echo $path['msg']; ?> </td> | ||
| 58 | - <?php if ($path['class'] != 'tick') { | 57 | +<!-- <tr>--> |
| 58 | +<!-- <td> <span class='<?php //echo $path['class']; ?>'> </span> </td>--> | ||
| 59 | +<!-- <td style="width:25%;"> <?php //echo $path['name']; ?> </td>--> | ||
| 60 | +<!-- <td style="width:75%;"> <?php //echo $path['msg']; ?> </td>--> | ||
| 61 | + <?php //if ($path['class'] != 'tick') { | ||
| 59 | ?> | 62 | ?> |
| 60 | <!-- <td><a href="javascript:this.location.reload();" class="refresh">Refresh</a></td>--> | 63 | <!-- <td><a href="javascript:this.location.reload();" class="refresh">Refresh</a></td>--> |
| 61 | <?php | 64 | <?php |
| 62 | - } ?> | ||
| 63 | - </tr> | 65 | +// } ?> |
| 66 | +<!-- </tr>--> | ||
| 64 | <?php | 67 | <?php |
| 65 | - } | ||
| 66 | - } | 68 | +// } |
| 69 | +// } | ||
| 67 | ?> | 70 | ?> |
| 68 | - </table> | 71 | +<!-- </table>--> |
| 69 | </div> | 72 | </div> |
| 70 | <input class="button_next" type="submit" value="Continue Installation" name="BInstall"/> | 73 | <input class="button_next" type="submit" value="Continue Installation" name="BInstall"/> |
| 71 | </form> | 74 | </form> |
setup/migrate/templates/services.tpl
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | <p class="title">Deactivate Services</p> | 2 | <p class="title">Deactivate Services</p> |
| 3 | 3 | ||
| 4 | <p class="description"> | 4 | <p class="description"> |
| 5 | - All KnowledgeTree services need to be deactivated before the migration takes place. | 5 | + All KnowledgeTree services need to be shutdown before the migration can continue. |
| 6 | </p> | 6 | </p> |
| 7 | <!--Continue Message--> | 7 | <!--Continue Message--> |
| 8 | <?php | 8 | <?php |
| @@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
| 38 | <?php } else { ?> | 38 | <?php } else { ?> |
| 39 | All services are uninstalled. | 39 | All services are uninstalled. |
| 40 | <?php } ?> | 40 | <?php } ?> |
| 41 | - <h3><?php echo "<span class='{$serviceCheck}'> </span>"; ?>Services Check</h3> | 41 | + <h3><?php echo "<span class='{$serviceCheck}'> </span>"; ?>Please shutdown the following services</h3> |
| 42 | <?php if($silent) { ?> | 42 | <?php if($silent) { ?> |
| 43 | <?php if($serviceCheck != 'tick') { | 43 | <?php if($serviceCheck != 'tick') { |
| 44 | $details = 'Hide Details'; | 44 | $details = 'Hide Details'; |
| @@ -60,8 +60,8 @@ | @@ -60,8 +60,8 @@ | ||
| 60 | ?> | 60 | ?> |
| 61 | <tr> | 61 | <tr> |
| 62 | <td> <span class='<?php echo $ser['class']; ?>'> </span> </td> | 62 | <td> <span class='<?php echo $ser['class']; ?>'> </span> </td> |
| 63 | - <td style="width:20%;"> <?php echo $ser['name']; ?> </td> | ||
| 64 | - <td style="width:75%;"> <?php echo $ser['msg']; ?> </td> | 63 | + <td style="width:50%;"> <?php echo $ser['name']; ?> </td> |
| 64 | + <td style="width:50%;"> <?php echo $ser['msg']; ?> </td> | ||
| 65 | <?php if ($ser['class'] != 'tick') { | 65 | <?php if ($ser['class'] != 'tick') { |
| 66 | ?> | 66 | ?> |
| 67 | <!-- <td><a href="javascript:this.location.reload();" class="refresh">Refresh</a></td>--> | 67 | <!-- <td><a href="javascript:this.location.reload();" class="refresh">Refresh</a></td>--> |
setup/wizard/lib/services/unixLucene.php
| @@ -50,6 +50,7 @@ class unixLucene extends unixService { | @@ -50,6 +50,7 @@ class unixLucene extends unixService { | ||
| 50 | private $javaXms; | 50 | private $javaXms; |
| 51 | private $javaXmx; | 51 | private $javaXmx; |
| 52 | public $name = "KTLucene"; | 52 | public $name = "KTLucene"; |
| 53 | + public $hrname = "KnowledgeTree Indexer Service"; | ||
| 53 | 54 | ||
| 54 | /** | 55 | /** |
| 55 | * Load defaults needed by service | 56 | * Load defaults needed by service |
| @@ -223,6 +224,10 @@ class unixLucene extends unixService { | @@ -223,6 +224,10 @@ class unixLucene extends unixService { | ||
| 223 | return $this->name; | 224 | return $this->name; |
| 224 | } | 225 | } |
| 225 | 226 | ||
| 227 | + public function getHRName() { | ||
| 228 | + return $this->hrname; | ||
| 229 | + } | ||
| 230 | + | ||
| 226 | public function getStopMsg($installDir) { | 231 | public function getStopMsg($installDir) { |
| 227 | return "";//"Execute from terminal : $installDir/dmsctl.sh stop"; | 232 | return "";//"Execute from terminal : $installDir/dmsctl.sh stop"; |
| 228 | } | 233 | } |
setup/wizard/lib/services/unixOpenOffice.php
| @@ -54,6 +54,7 @@ class unixOpenOffice extends unixService { | @@ -54,6 +54,7 @@ class unixOpenOffice extends unixService { | ||
| 54 | // office executable | 54 | // office executable |
| 55 | private $soffice; | 55 | private $soffice; |
| 56 | public $name = "KTOpenOffice"; | 56 | public $name = "KTOpenOffice"; |
| 57 | + public $hrname = "KnowledgeTree OpenOffice.org Service"; | ||
| 57 | 58 | ||
| 58 | /** | 59 | /** |
| 59 | * Load defaults needed by service | 60 | * Load defaults needed by service |
| @@ -173,6 +174,10 @@ class unixOpenOffice extends unixService { | @@ -173,6 +174,10 @@ class unixOpenOffice extends unixService { | ||
| 173 | return $this->name; | 174 | return $this->name; |
| 174 | } | 175 | } |
| 175 | 176 | ||
| 177 | + public function getHRName() { | ||
| 178 | + return $this->hrname; | ||
| 179 | + } | ||
| 180 | + | ||
| 176 | public function getStopMsg($installDir) { | 181 | public function getStopMsg($installDir) { |
| 177 | return "";//"Execute from terminal : $installDir/dmsctl.sh stop"; | 182 | return "";//"Execute from terminal : $installDir/dmsctl.sh stop"; |
| 178 | } | 183 | } |
setup/wizard/lib/services/unixScheduler.php
| @@ -48,6 +48,7 @@ class unixScheduler extends unixService { | @@ -48,6 +48,7 @@ class unixScheduler extends unixService { | ||
| 48 | private $scheduler; | 48 | private $scheduler; |
| 49 | private $phpCli; | 49 | private $phpCli; |
| 50 | public $name = "KTScheduler"; | 50 | public $name = "KTScheduler"; |
| 51 | + public $hrname = "KnowledgeTree Scheduler Service"; | ||
| 51 | 52 | ||
| 52 | /** | 53 | /** |
| 53 | * Load defaults needed by service | 54 | * Load defaults needed by service |
| @@ -201,6 +202,10 @@ class unixScheduler extends unixService { | @@ -201,6 +202,10 @@ class unixScheduler extends unixService { | ||
| 201 | return $this->name; | 202 | return $this->name; |
| 202 | } | 203 | } |
| 203 | 204 | ||
| 205 | + public function getHRName() { | ||
| 206 | + return $this->hrname; | ||
| 207 | + } | ||
| 208 | + | ||
| 204 | public function getStopMsg($installDir) { | 209 | public function getStopMsg($installDir) { |
| 205 | return "Service Running";//"Execute from terminal : $installDir/dmsctl.sh stop"; | 210 | return "Service Running";//"Execute from terminal : $installDir/dmsctl.sh stop"; |
| 206 | } | 211 | } |
setup/wizard/lib/services/windowsLucene.php
| @@ -132,6 +132,8 @@ class windowsLucene extends windowsService { | @@ -132,6 +132,8 @@ class windowsLucene extends windowsService { | ||
| 132 | */ | 132 | */ |
| 133 | public $name = "KTLucene"; | 133 | public $name = "KTLucene"; |
| 134 | 134 | ||
| 135 | + public $hrname = "KnowledgeTree Indexer Service. (KTLucene)"; | ||
| 136 | + | ||
| 135 | /** | 137 | /** |
| 136 | * Load defaults needed by service | 138 | * Load defaults needed by service |
| 137 | * | 139 | * |
| @@ -468,6 +470,10 @@ class windowsLucene extends windowsService { | @@ -468,6 +470,10 @@ class windowsLucene extends windowsService { | ||
| 468 | return ''; | 470 | return ''; |
| 469 | } | 471 | } |
| 470 | 472 | ||
| 473 | + public function getHRName() { | ||
| 474 | + return $this->hrname; | ||
| 475 | + } | ||
| 476 | + | ||
| 471 | public function getStopMsg($installDir) { | 477 | public function getStopMsg($installDir) { |
| 472 | return "";//"Execute from command prompt : $installDir/dmsctl.bat stop"; | 478 | return "";//"Execute from command prompt : $installDir/dmsctl.bat stop"; |
| 473 | } | 479 | } |
setup/wizard/lib/services/windowsOpenOffice.php
| @@ -132,6 +132,8 @@ class windowsOpenOffice extends windowsService { | @@ -132,6 +132,8 @@ class windowsOpenOffice extends windowsService { | ||
| 132 | */ | 132 | */ |
| 133 | public $name = "KTOpenOffice"; | 133 | public $name = "KTOpenOffice"; |
| 134 | 134 | ||
| 135 | + public $hrname = "KnowledgeTree OpenOffice.org Service. (KTOpenOffice)"; | ||
| 136 | + | ||
| 135 | /** | 137 | /** |
| 136 | * Load defaults needed by service | 138 | * Load defaults needed by service |
| 137 | * | 139 | * |
| @@ -257,6 +259,10 @@ class windowsOpenOffice extends windowsService { | @@ -257,6 +259,10 @@ class windowsOpenOffice extends windowsService { | ||
| 257 | return false; | 259 | return false; |
| 258 | } | 260 | } |
| 259 | 261 | ||
| 262 | + public function getHRName() { | ||
| 263 | + return $this->hrname; | ||
| 264 | + } | ||
| 265 | + | ||
| 260 | public function getStopMsg($installDir) { | 266 | public function getStopMsg($installDir) { |
| 261 | return "";//"Execute from command prompt : $installDir/dmsctl.bat stop"; | 267 | return "";//"Execute from command prompt : $installDir/dmsctl.bat stop"; |
| 262 | } | 268 | } |
setup/wizard/lib/services/windowsScheduler.php
| @@ -77,6 +77,8 @@ class windowsScheduler extends windowsService { | @@ -77,6 +77,8 @@ class windowsScheduler extends windowsService { | ||
| 77 | */ | 77 | */ |
| 78 | public $name = "KTScheduler"; | 78 | public $name = "KTScheduler"; |
| 79 | 79 | ||
| 80 | + public $hrname = "KnowledgeTree Scheduler Service. (KTScheduler)"; | ||
| 81 | + | ||
| 80 | /** | 82 | /** |
| 81 | * Load defaults needed by service | 83 | * Load defaults needed by service |
| 82 | * | 84 | * |
| @@ -278,6 +280,10 @@ class windowsScheduler extends windowsService { | @@ -278,6 +280,10 @@ class windowsScheduler extends windowsService { | ||
| 278 | return false; | 280 | return false; |
| 279 | } | 281 | } |
| 280 | 282 | ||
| 283 | + public function getHRName() { | ||
| 284 | + return $this->hrname; | ||
| 285 | + } | ||
| 286 | + | ||
| 281 | public function getStopMsg($installDir) { | 287 | public function getStopMsg($installDir) { |
| 282 | return "";//"Execute from command prompt : $installDir/dmsctl.bat stop"; | 288 | return "";//"Execute from command prompt : $installDir/dmsctl.bat stop"; |
| 283 | } | 289 | } |