Am 27.01.2010 13:59, schrieb Terry Carmen:
>> On Tue, 2010-01-26 at 12:49 -0500, Terry Carmen wrote:
>>> Various clients have a way to send alerts about upcoming events, however
>>> this isn't helpful when the client is offline.
>>>
>>> Is there any way to send email alerts from the davical server (maybe
>>> have cron check every few minutes for upcoming events?)
>>
>> Hi Terry,
>>
>> I don't know of anything that anyone has written to do this, but it
>> shouldn't be too tricky.
>>
>> If I were to approach it I would tend to do a periodic query to select
>> the things that will need notifying in the coming X minutes for a given
>> calendar.
>
> Thanks, I just wanted to make sure it wasn't hiding somehwere and I was just
> missing it.
Here comes a sample implementation to be called every 5min by cron. It
currently cannot display the exact time of the next event alerted if
this is a repeated event.
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: davicalalert.pl
Type: application/x-perl
Size: 1142 bytes
Desc: not available
URL: <http://lists.morphoss.com/pipermail/davical-users/attachments/20100603/e4105829/attachment.bin>
-------------- next part --------------
>> On Tue, 2010-01-26 at 12:49 -0500, Terry Carmen wrote:
>>> Various clients have a way to send alerts about upcoming events, however
>>> this isn't helpful when the client is offline.
>>>
>>> Is there any way to send email alerts from the davical server (maybe
>>> have cron check every few minutes for upcoming events?)
>>
>> Hi Terry,
>>
>> I don't know of anything that anyone has written to do this, but it
>> shouldn't be too tricky.
>>
>> If I were to approach it I would tend to do a periodic query to select
>> the things that will need notifying in the coming X minutes for a given
>> calendar.
>
> Thanks, I just wanted to make sure it wasn't hiding somehwere and I was just
> missing it.
Here comes a sample implementation to be called every 5min by cron. It
currently cannot display the exact time of the next event alerted if
this is a repeated event.
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: davicalalert.pl
Type: application/x-perl
Size: 1142 bytes
Desc: not available
URL: <http://lists.morphoss.com/pipermail/davical-users/attachments/20100603/e4105829/attachment.bin>
-------------- next part --------------