Commit 767c83b138abe3eeb1335c3d6d56655ddedd6e3f
1 parent
e777b078
KTS-2414
"Implement a dashlet for the scheduler" Updated some text. Committed by: Kevin Fourie Reviewed by: Conrad Vermeulen git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7532 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
10 additions
and
8 deletions
templates/ktcore/dashlets/scheduler.smarty
| 1 | 1 | |
| 2 | -<span class="descriptiveText">{i18n}The scheduler runs document indexing and various house keeping tasks, etc in the background.{/i18n}</span> | |
| 2 | +<span class="descriptiveText">{i18n}The scheduler runs background tasks.{/i18n}</span> | |
| 3 | 3 | {if $lasttime} |
| 4 | 4 | <span class="descriptiveText">{i18n arg_time=$lasttime}The last time these tasks were performed was on #time#.{/i18n}</span> |
| 5 | 5 | {else} |
| 6 | - <span class="descriptiveText">{i18n}It has never been implemented.{/i18n}</span> | |
| 6 | + <span class="descriptiveText">{i18n}No tasks have been run yet.{/i18n}</span> | |
| 7 | 7 | {/if} |
| 8 | 8 | <span><a href="{$sAdmin}">Administration page</a></span> |
| 9 | 9 | |
| ... | ... | @@ -18,25 +18,27 @@ |
| 18 | 18 | |
| 19 | 19 | {if $bWin} |
| 20 | 20 | <p> |
| 21 | - {i18n}Please ensure that the scheduler is listed in the Windows Scheduled Tasks. To view the list of scheduled tasks, open the Control Panel and go to Scheduled Tasks. For further information on how to add or update a task, please refer to the documentation.{/i18n} | |
| 21 | + {i18n}Note: The stack install uses its own service for task scheduling and the following is only for source installs.<br>{/i18n} | |
| 22 | + {i18n}To view the list of scheduled tasks, open the Control Panel and go to Scheduled Tasks. For further information on how to add or update a task, please refer to the documentation.{/i18n} | |
| 22 | 23 | </p> |
| 23 | 24 | <p> |
| 24 | 25 | <strong><span onclick="{$onClick}"> |
| 25 | 26 | <img id="scheduler_icon" src="{$sImg}"/> |
| 26 | 27 | {i18n}Brief Guide to Scheduled Tasks:{/i18n}</span></strong> |
| 27 | 28 | <div id="cronguide" style="display: none; visibility: hidden;"> |
| 28 | - If the scheduler is not in the list of jobs then add it by clicking on "Add Scheduled Task" or by right-clicking and selecting New->Scheduled Task. If the scheduler exists then right-click on it and select Properties. | |
| 29 | + {i18n}If the scheduler is not in the list of jobs then add it by clicking on "Add Scheduled Task" or by right-clicking and selecting New->Scheduled Task. If the scheduler exists then right-click on it and select Properties.{/i18n} | |
| 29 | 30 | <br /><br />Set the following: |
| 30 | 31 | <ul> |
| 31 | - <li>Task to run = path/to/knowledgetree/bin/scheduler.php</li> | |
| 32 | - <li>Frequency = Daily at midnight</li> | |
| 33 | - <li>Under advanced, set it to repeat every 5 minutes</li> | |
| 32 | + <li>{i18n}Task to run = path/to/knowledgetree/bin/scheduler.php{/i18n}</li> | |
| 33 | + <li>{i18n}Frequency = Daily at midnight{/i18n}</li> | |
| 34 | + <li>{i18n}Under advanced, set it to repeat every 5 minutes{/i18n}</li> | |
| 34 | 35 | </ul> |
| 35 | 36 | </div> |
| 36 | 37 | </p> |
| 37 | 38 | |
| 38 | 39 | {else} |
| 39 | 40 | <p> |
| 41 | + {i18n}Note: The stack install uses its own service for task scheduling and the following is only for source installs.{/i18n}<br> | |
| 40 | 42 | {i18n}Please ensure that the scheduler is listed in your cron jobs. The line to be added to the crontab to implement the cron job is: {/i18n} |
| 41 | 43 | <ul><li>*/5 * * * * {$sPath} > /dev/null</li></ul> |
| 42 | 44 | </p> |
| ... | ... | @@ -59,4 +61,4 @@ |
| 59 | 61 | </div> |
| 60 | 62 | </p> |
| 61 | 63 | |
| 62 | -{/if} | |
| 63 | 64 | \ No newline at end of file |
| 65 | +{/if} | ... | ... |