Skip to main content
8 events
when toggle format what by license comment
May 18, 2012 at 2:59 vote accept Alejandro García Iglesias
May 16, 2012 at 18:35 comment added Alejandro García Iglesias Also I believe I need the cron because scheduled instances calculations may be a little heavy for doing on Notification save.
May 16, 2012 at 18:29 comment added Alejandro García Iglesias I'm thinking that pre-filling a time period with instances would be good. The only problem is how many/how much? Do I pre-fill only a month of instances? Thanks also to @JohntheRevelator for helping improve this answer.
May 16, 2012 at 17:49 comment added Alejandro García Iglesias I'm still thinking about what you said in your answer. I'll keep you updated when I have the application of your answer more clear in my mind.
May 16, 2012 at 17:46 comment added Alejandro García Iglesias Sorry, I forgot to mention that Users can close/cancel the Notification on the system so they don't see that instance anymore. Also, the system must send a email to the User the day before the notification. That's why I thought of a cronjob. I updated the question with that details.
May 16, 2012 at 17:38 comment added psr @JohntheRevelator - It may make sense to "blast out" (into individual database records) a bunch of instances out to a certain point in time. Basically this is a kind of caching and might make sense if there are lots of schedules (say, in a big databsae) and the time to compute all the instances is worth avoiding. For a single schedule in isolation it's harder to imagine that being worth it.
May 16, 2012 at 17:33 comment added Jeff Camera If you're persisting instances of a recurring event what do you do when someone creates an event that starts next week and happens every other Tuesday and is going to continue indefinitely?
May 16, 2012 at 17:29 history answered psr CC BY-SA 3.0