Commit 39b1e33e2656f43b934a9d141b6f73bd485fb77c
1 parent
b71afe11
KTS-2583
"task_runner.php must include set_time_limit(0)" Deleted. No need for this script, as the script is looped in ktdms/knowledgeTree/bin/schedulerTask.sh Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7569 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
0 additions
and
57 deletions
bin/taskrunner.php deleted
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * $Id:$ | |
| 4 | - * | |
| 5 | - * KnowledgeTree Open Source Edition | |
| 6 | - * Document Management Made Simple | |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | - * | |
| 9 | - * This program is free software; you can redistribute it and/or modify it under | |
| 10 | - * the terms of the GNU General Public License version 3 as published by the | |
| 11 | - * Free Software Foundation. | |
| 12 | - * | |
| 13 | - * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 14 | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
| 15 | - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
| 16 | - * details. | |
| 17 | - * | |
| 18 | - * You should have received a copy of the GNU General Public License | |
| 19 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 20 | - * | |
| 21 | - * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, | |
| 22 | - * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. | |
| 23 | - * | |
| 24 | - * The interactive user interfaces in modified source and object code versions | |
| 25 | - * of this program must display Appropriate Legal Notices, as required under | |
| 26 | - * Section 5 of the GNU General Public License version 3. | |
| 27 | - * | |
| 28 | - * In accordance with Section 7(b) of the GNU General Public License version 3, | |
| 29 | - * these Appropriate Legal Notices must retain the display of the "Powered by | |
| 30 | - * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 31 | - * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | |
| 32 | - * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | - * copyright notice. | |
| 34 | - * Contributor( s): ______________________________________ | |
| 35 | - * | |
| 36 | - */ | |
| 37 | - | |
| 38 | -// Setup php binary path | |
| 39 | -$phpPath = realpath('../../php/bin/php'); | |
| 40 | -if (!is_file($phpPath)) | |
| 41 | -{ | |
| 42 | - die('Cannot find php.exe'); | |
| 43 | -} | |
| 44 | - | |
| 45 | -// Main Scheduler Service Loop | |
| 46 | -while (1) { | |
| 47 | - | |
| 48 | - // Run the scheduler script | |
| 49 | - shell_exec("$phpPath scheduler.php"); | |
| 50 | - | |
| 51 | - sleep(10); // Run every 10 seconds | |
| 52 | - | |
| 53 | -} | |
| 54 | - | |
| 55 | -?> |
bin/taskrunner.sh deleted