To activate this daemon (assuming your hosting platform allows you to do so), login via SSH to your server and cd to the folder phlymail/backend/. Enter this command:
- Code: Select all
nohup <path to PHP> ./calendar.externalalerts.php -d --interval10 &
That's it. From now on this daemon checks for due events in the given interval and alerts these accordingly. To save on your valuable CPU resources, the daemon will not alert to the exact minute the alerts were due, but in the interval defined.
The interval parameter defines, how often the daemon checks for due alerts. Do not set this value (it is given in minutes) too high or alerts will go out way too early.
UPDATE: As of version 3.03.03 (calendar version 1.16) you can call the script without the switch -d. This makes the script run in one-shot mode, where it runs once and then exits itself again. This is useful, when your hosting platform does not allow scripts to run for a longer time. You also might put it into your crontab then. In this case you can even leave out the --interval parameter.

