Search Engine: Elastic

Article ID: 125622, created on May 26, 2015, last review on May 26, 2015


Horde web-mail users can create events with Horde Calendar and set email notification as the reminder. However inactive users including offline ones are not notified of the upcoming events in the case of specifying external email address.


From Horde Framework documentation:

Setting up alarm emails

If you want your users to be able to receive emails from the Horde_Alarm system, you must set up a cron entry for horde-alarms, you must have at least one administrator specified in the Horde configuration, and you must have the PHP CLI installed (a CGI binary is not supported - php -v will report what kind of PHP binary you have).

Running the job every 5 minutes is recommended:

   # Horde Alarms
   */5 * * * * /usr/bin/horde-alarms

Plesk does not set the cron entry for horde-alarms because of possibility of performance issues.


  1. Replace /usr/share/psa-pear/pear/horde-alarms with the following content:

    #!/usr/bin/env php
    define('HORDE_BASE', '/usr/share/psa-horde');
    require_once HORDE_BASE . '/lib/Application.php';
    Horde_Registry::appInit('horde', array('cli' => true));
    $alarm = $injector->getInstance('Horde_Alarm');
    $alarm->notify(null, true, false, array('notify', 'desktop'));
    foreach ($alarm->getErrors() as $error) {
        $cli->message($error, 'cli.error');
  2. Schedule to trigger alarm notifications every 5 minutes /etc/cron.d/horde-alarms-notification.

    # echo "*/5 * * * * horde_sysuser [ -x /usr/share/psa-pear/pear/horde-alarms ] && /usr/share/psa-pear/pear/horde-alarms" > /etc/cron.d/horde-alarms-notification

Note: Frequency of checking/sending alarm notifications can be changed by replacing "5" at the beginning of line with any other vaule in minutes.

Email subscription for changes to this article
Save as PDF