Difference between revisions of "Setup:Installation Manual/Optimization/Cronjobs"
← Setup:Installation Manual/Optimization/Cronjobs
[unchecked revision] | [quality revision] |
RichardHeigl (talk | contribs) (→Tip for this Document) |
RichardHeigl (talk | contribs) |
Contents
This document describes cronjobs an related configurations, which should be set for your BlueSpice (depending on the used version).
Tips for this Document[edit | edit source]
- Please, read this manual completely and work through the single installtion installation steps one after another.
- For editing the configuration files with a text editor, the files must be saved in UTF-8 coding without BOM (Byte Order Mark).
-
The placeholder
<installpath-bluespice>
stands for the path to your BlueSpice installation, e.gC:\inetpub\wwwroot\bluespice
(Windows) or/var/www/bluespice
(Linux).
runJobs.php[edit | edit source]
Time-consuming processes will be moved to a processing queue in the background of BlueSpice. With every page impression, a part of these will be processed. For the case that there are lots of processes in the queue and there are relatively litte page impressions, the tasks will not be processed promptly.
For this reason, the queue should be processed regularly by cronjob.
Now create a cronjob (Windows: "Scheduled task") depending on your operating system. The command to execute is:
phpIt is recommended to specify the complete path to php.exe under Windows. For more information, see the environment variables document.<installpath-bluespice>
/maintenance/runJobs.php (Linux)<installpath-bluespice>
\maintenance\runJobs.php (Windows)
Execute the cronjob every 15 minutes.
processEchoEmailBatch.php[edit | edit source]
For reports via email sent from MediaWiki, please create a cronjob and run it daily. The command for this is:
phpIt is recommended to specify the complete path to php.exe under Windows. For more information, see the environment variables document.<installpath-bluespice>
/extensions/Echo/maintenance/processEchoEmailBatch.php (Linux) php<installpath-bluespice>
\extensions\Echo\maintenance\processEchoEmailBatch.php (Windows)
runNotifications.php (only BlueSpice pro)[edit | edit source]
The BlueSpiceReminder notifies the users by email about upcoming tasks in BlueSpice. For this, a cronjob needs to be executed once a day. This is the command:
phpIt is recommended to specify the complete path to php.exe under Windows. For more information, see the environment variables document.<installpath-bluespice>
/extensions/BlueSpiceReminder/Reminder/maintenance/runNotifications.php (Linux) php<installpath-bluespice>
\extensions\BlueSpiceReminder\Reminder\maintenance\runNotifications.php (Windows)
{{DISPLAYTITLE:Cronjobs}} __TOC__ This document describes cronjobs an related configurations, which should be set for your BlueSpice (depending on the used version). ==Tips for this Document== * Please, read this manual completely and work through the single installtioninstallation steps one after another. * For editing the configuration files with a text editor, the files must be saved in UTF-8 coding without BOM (Byte Order Mark). * The placeholder <code><installpath-bluespice></code> stands for the path to your BlueSpice installation, e.g <code>C:\inetpub\wwwroot\bluespice</code> (Windows) or <code>/var/www/bluespice</code> (Linux). ==runJobs.php== Time-consuming processes will be moved to a processing queue in the background of BlueSpice. With every page impression, a part of these will be processed. For the case that there are lots of processes in the queue and there are relatively litte page impressions, the tasks will not be processed promptly. For this reason, the queue should be processed regularly by cronjob. Now create a cronjob (Windows: "Scheduled task") depending on your operating system. The command to execute is: php <code><installpath-bluespice></code>/maintenance/runJobs.php ''(Linux)'' <code><installpath-bluespice></code>\maintenance\runJobs.php ''(Windows)'' [[File:Hint.jpg|left]] '''It is recommended to specify the complete path to php.exe under Windows. For more information, see the [[Setup:Installation Manual/System Configuration/Environment Variables|environment variables]] document.'''<br style="clear: left;" /> Execute the cronjob every '''15 minutes'''. ==processEchoEmailBatch.php== For reports via email sent from MediaWiki, please create a cronjob and run it daily. The command for this is: php <code><installpath-bluespice></code>/extensions/Echo/maintenance/processEchoEmailBatch.php ''(Linux)'' php <code><installpath-bluespice></code>\extensions\Echo\maintenance\processEchoEmailBatch.php ''(Windows)'' [[File:Hint.jpg|left]] '''It is recommended to specify the complete path to php.exe under Windows. For more information, see the [[Setup:Installation Manual/System Configuration/Environment Variables|environment variables]] document.'''<br style="clear: left;" /> ==runNotifications.php (only BlueSpice pro)== The BlueSpiceReminder notifies the users by email about upcoming tasks in BlueSpice. For this, a cronjob needs to be executed once a day. This is the command: php <code><installpath-bluespice></code>/extensions/BlueSpiceReminder/Reminder/maintenance/runNotifications.php ''(Linux)'' php <code><installpath-bluespice></code>\extensions\BlueSpiceReminder\Reminder\maintenance\runNotifications.php ''(Windows)'' [[File:Hint.jpg|left]] '''It is recommended to specify the complete path to php.exe under Windows. For more information, see the [[Setup:Installation Manual/System Configuration/Environment Variables|environment variables]] document.'''<br style="clear: left;" />
Line 6: | Line 6: | ||
==Tips for this Document== | ==Tips for this Document== | ||
− | * Please, read this manual completely and work through the single | + | * Please, read this manual completely and work through the single installation steps one after another. |
* For editing the configuration files with a text editor, the files must be saved in UTF-8 coding without BOM (Byte Order Mark). | * For editing the configuration files with a text editor, the files must be saved in UTF-8 coding without BOM (Byte Order Mark). | ||
* The placeholder <code><installpath-bluespice></code> stands for the path to your BlueSpice installation, e.g <code>C:\inetpub\wwwroot\bluespice</code> (Windows) or <code>/var/www/bluespice</code> (Linux). | * The placeholder <code><installpath-bluespice></code> stands for the path to your BlueSpice installation, e.g <code>C:\inetpub\wwwroot\bluespice</code> (Windows) or <code>/var/www/bluespice</code> (Linux). |