shared calendar as long time reminding system?

Gunnar Wrobel wrobel at pardus.de
Fri Sep 11 16:19:01 CEST 2009


Quoting Thorsten Schnebeck <thorsten.schnebeck at gmx.net>:

> Am Freitag 11 September 2009 08:49:47 schrieb Bernhard Reiter:
>> Am Donnerstag, 10. September 2009 16:23:44 schrieb Gunnar Wrobel:
>> > > I guess the hackish solution would be to make sure a webclient is
>> > > running all the time that has access to the folder and will just send
>> > > out emails for each reminder. You might need a script to keep the horde
>> > > sessing alive, though.
>> >
>> > I think the Horde Alarm system allows setting up email reminders via a
>> > cron job.
>>
>> From the concept side I do not see how this could work reliably.
>> In order to read a folder, any client would need the users credentials
>> which should only be kept in memory as long as the client is active.
>> A cron job is another client and it dies not have the credentials to access
>> the folder of any user.
>
> Yep, this seems to be the problem.
> I disabled safe-mode for testing purpose and now the scripts run in  
> CLI but the cron job script still get no auth

I looked at the script now and it does indeed do no real  
authentication. I guess this could be fixed though. But Bernhard is  
also right: You need the user credentials. Would it be sufficient if  
you run the script for just one specific user?

Cheers,

Gunnar

>
>
> Sep 11 13:01:52 HORDE [debug] [kronolith] Hook  
> _prefs_change_hook_display_remote_cals in application horde not  
> called. [pid 9470 on line
> 1683 of "/kolab-2.2.2/var/kolab/www/client/lib/Horde.php"]
> Sep 11 13:01:52 HORDE [debug] [nag] Hook _horde_hook_share_init in  
> application horde not called. [pid 9470 on line 1683 of
> "/kolab-2.2.2/var/kolab/www/client/lib/Horde.php"]
> Sep 11 13:01:52 HORDE [error] [nag] IMAP error. Server:  
> phobos.mydomain.de. Error: IMAP Authentication cancelled [pid 9470  
> on line 281 of
> "/kolab-2.2.2/var/kolab/www/client/nag/lib/Nag.php"]
> Sep 11 13:01:52 HORDE [error] [nag] IMAP error. Server:  
> phobos.mydomain.de. Error: IMAP Authentication cancelled [pid 9470  
> on line 281 of
> "/kolab-2.2.2/var/kolab/www/client/nag/lib/Nag.php"]
> Sep 11 13:01:52 HORDE [error] [nag] IMAP error. Server:  
> phobos.mydomain.de. Error: IMAP Authentication cancelled [pid 9470  
> on line 281 of
> "/kolab-2.2.2/var/kolab/www/client/nag/lib/Nag.php"]
> Sep 11 13:01:52 HORDE [debug] [nag] Hook  
> _prefs_change_hook_display_tasklists in application horde not  
> called. [pid 9470 on line 1683 of
> "/kolab-2.2.2/var/kolab/www/client/lib/Horde.php"]
> Sep 11 13:01:52 HORDE [error] [nag] IMAP error. Server:  
> phobos.mydomain.de. Error: IMAP Authentication cancelled [pid 9470  
> on line 281 of
> "/kolab-2.2.2/var/kolab/www/client/nag/lib/Nag.php"]
> Sep 11 13:01:52 HORDE [debug] [kronolith] Hook  
> _prefs_change_hook_display_external_cals in application horde not  
> called. [pid 9470 on line
> 1683 of "/kolab-2.2.2/var/kolab/www/client/lib/Horde.php"]
> Sep 11 13:01:52 HORDE [debug] [kronolith] Hook  
> _prefs_change_hook_display_cals in application horde not called.  
> [pid 9470 on line 1683 of
> "/kolab-2.2.2/var/kolab/www/client/lib/Horde.php"]
> Sep 11 13:01:52 HORDE [debug] [horde] SQL query by  
> Horde_Alarm_sql::_list(): SELECT alarm_id, alarm_uid, alarm_start,  
> alarm_end,
> alarm_methods, alarm_params, alarm_title, alarm_text, alarm_snooze,  
> alarm_internal FROM horde_alarms WHERE alarm_dismissed = 0 AND
> ((alarm_snooze IS NULL AND alarm_start <= ?) OR alarm_snooze <= ?)  
> AND (alarm_end IS NULL OR alarm_end >= ?) ORDER BY alarm_start,  
> alarm_end
> [pid 9470 on line 148 of  
> "/kolab-2.2.2/var/kolab/www/client/lib/Horde/Alarm/sql.php"]
>
> As soon as I log into the webclient I get my reminder email from the system.
>
> Bye
>
>   Thorsten
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>



-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
--------------------------------------------------------------------
    >> Mail at ease - Rent a kolab groupware server at p at rdus <<
--------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.kolab.org/pipermail/users/attachments/20090911/27c07125/attachment.sig>


More information about the users mailing list