diff --git a/bin/win32/installScheduler.php b/bin/win32/installScheduler.php index f0b3ce8..92dc9ab 100644 --- a/bin/win32/installScheduler.php +++ b/bin/win32/installScheduler.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + $scriptPath = realpath(dirname(__FILE__) . '/taskrunner.bat'); win32_create_service(array( diff --git a/bin/win32/schedulerService.php b/bin/win32/schedulerService.php index c75884f..f39e82e 100644 --- a/bin/win32/schedulerService.php +++ b/bin/win32/schedulerService.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + $myservicename = 'ktscheduler'; // Connect to service dispatcher and notify that startup was successful @@ -12,7 +48,7 @@ require_once('../../config/dmsDefaults.php'); global $default; $config = KTConfig::getSingleton(); -$schedulerInterval = $config->get('KnowledgeTree/schedulerInterval',10); // interval in seconds +$schedulerInterval = $config->get('KnowledgeTree/schedulerInterval',30); // interval in seconds //$phpPath = $config->get('externalBinary/php','php'); // TODO - fix me // Change to knowledgeTree/bin folder diff --git a/bin/win32/schedulerServiceStatus.php b/bin/win32/schedulerServiceStatus.php index 5281972..e0fcbb4 100644 --- a/bin/win32/schedulerServiceStatus.php +++ b/bin/win32/schedulerServiceStatus.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + var_dump(win32_query_service_status('ktscheduler')); ?> diff --git a/bin/win32/uninstallScheduler.php b/bin/win32/uninstallScheduler.php index 47cd515..f7fc099 100644 --- a/bin/win32/uninstallScheduler.php +++ b/bin/win32/uninstallScheduler.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + win32_delete_service('ktscheduler'); ?> \ No newline at end of file