[kronolith] Weekly Agenda to be run on Sunday.

ANANT S ATHAVALE asa at isac.gov.in
Fri May 14 04:09:23 UTC 2010


----- Message from jan at horde.org ---------
     Date: Thu, 13 May 2010 17:39:33 +0200
     From: Jan Schneider <jan at horde.org>
  Subject: Re: [kronolith] Weekly Agenda to be run on Sunday.
       To: kronolith at lists.horde.org


> Zitat von ANANT S ATHAVALE <asa at isac.gov.in>:
>
>> Dear List,
>>
>> I am running following as part of cron.
>>
>> /usr/bin/php /home/horde/scripts/alarms.php
>>
>> and I am getting reminders as well as daily agenda mail.
>
> Not possible. alarms.php is *not* sending out daily agendas. You  
> must be running kronolith/scripts/reminders.php too.

I was running earlier.  But, we started getting Daily agenda and  
reminders twice with exactly same contents.  So, I disabled  
reminders.php cron entry.

With only alarms.php as crontab, we get daily agenda once but reminder  
still comes twice.

Regards,
ANANT.


>> Does this scripts also calls for the function listEvents in  
>> lib/Scheduler/kronolith.php ?
>>
>> My problem is, if I replace second $runtime with a date one week  
>> ahead, it will become a weekly agenda and I will loose the  
>> functionality of daily agenda.  I want both.  Daily agenda should  
>> continue and weekly agenda should be run only on Sunday.
>>
>> I will be happy, if /home/horde/scripts/alarms.php is not calling  
>> listEvents function.  If it is not calling it, I will use the other  
>> cron
>> '/home/horde/kronolith/scripts/reminders.php' to run on sunday  
>> alone and change the second parameter to a week ahead and it may  
>> solve my problem.
>>
>> Please update.
>>
>> Regards,
>> ANANT.
>>
>> ----- Message from asa at isac.gov.in ---------
>>    Date: Wed, 12 May 2010 14:24:07 +0530
>>    From: ANANT S ATHAVALE <asa at isac.gov.in>
>> Subject: Re: [kronolith] Weekly Agenda to be run on Sunday.
>>      To: kronolith at lists.horde.org
>>
>>
>>> Thanks, I will try out and update.
>>>
>>> Regards,
>>> ANANT.
>>>
>>> ----- Message from jan at horde.org ---------
>>>   Date: Wed, 12 May 2010 10:40:24 +0200
>>>   From: Jan Schneider <jan at horde.org>
>>> Subject: Re: [kronolith] Weekly Agenda to be run on Sunday.
>>>     To: kronolith at lists.horde.org
>>>
>>>
>>>> Zitat von ANANT S ATHAVALE <asa at isac.gov.in>:
>>>>
>>>>> Dear List,
>>>>>
>>>>> Has anybody written a script to run on every Sunday to send a  
>>>>> Weekly agenda similar to the one which is there as daily agenda?
>>>>>
>>>>> Our users are requesting for this feature and they want to have  
>>>>> a weekly agenda on Sunday for the whole next week.
>>>>
>>>> It's easier with Kronolith 3 where you only have to change 2  
>>>> variables for that, though it's basically the same in Kronolith 2:
>>>>
>>>> In lib/Scheduler/kronolith.php finde the $runtime variable in  
>>>> agenda(). It's passed twice to listEvents(). If you replace the  
>>>> second parameter with a date one week ahead of $runtime, you  
>>>> should be done.
>>>>
>>>> Jan.
>>>>
>>>> -- 
>>>> Do you need professional PHP or Horde consulting?
>>>> http://horde.org/consulting/
>>>>
>>>> -- 
>>>> Kronolith mailing list - Join the hunt:  
>>>> http://horde.org/bounties/#kronolith
>>>> Frequently Asked Questions: http://horde.org/faq/
>>>> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>>>>
>>>
>>>
>>> ----- End message from jan at horde.org -----
>>>
>>>
>>>
>>> Regards,
>>>
>>> Anant Athavale.
>>> -- 
>>> Kronolith mailing list - Join the hunt:  
>>> http://horde.org/bounties/#kronolith
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>>>
>>
>>
>> ----- End message from asa at isac.gov.in -----
>>
>>
>>
>> Regards,
>>
>> Anant Athavale.
>> -- 
>> Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>>
>
>
>
> Jan.
>
> -- 
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> -- 
> Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>


----- End message from jan at horde.org -----



Regards,

Anant Athavale.


More information about the kronolith mailing list