[kronolith] Weekly Agenda to be run on Sunday.

Jan Schneider jan at horde.org
Wed May 12 08:40:24 UTC 2010


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/



More information about the kronolith mailing list