Note: This article has been deprecated as of 2024/01/10. It is no longer maintained and may contain outdated information. For updated content, please refer to How to install a local eFront portal using Docker.
Reason for Deprecation: custom, local installations are no longer supported. If you have any questions or need further assistance, please contact our support. |
To make notifications work, you have to define a Cron job on your server. Follow these steps on Linux installations:
Execute the command “crontab -e” as root, to edit the crontab file
Place the following line inside your crontab file
*/5 * * * * /usr/bin/php /full_path_to_eFront/www/cron.php http://efront.example.com
where /usr/bin/php is the path to the php executable on the server and the path for cron.php must be defined not from the DocumentRoot folder of installation but as the full path from the logical drive.
Make sure you specify an additional argument with the full url of your installation, for example, http://efront.example.com or https://efront.example.com.
The corresponding process on Windows servers is to create a Scheduled task that runs php.exe file appended by arguments /full_path_to_eFront/www/cron.php and http://efront.example.com.
In case Schedule task can not run php.exe file you can create a batch file to call the executable with the arguments and modify the scheduled task to run the batch file.
Note: This is a necessary step for notifications into eFront. Without setting up a cron job emails generated from events are not delivered to their recipients and you see them always into Mail Queue tab. |