recurring-events

Efficient recurring tasks in celery?

时光毁灭记忆、已成空白 提交于 2019-12-11 14:03:40
问题 I have ~250,000 recurring tasks each day; about a fifth of which might be updated with different scheduled datetimes each day. Can this be done efficiently in Celery? - I am worried about this from celery's beat.py: def tick(self): """Run a tick, that is one iteration of the scheduler. Executes all due tasks. """ remaining_times = [] try: for entry in values(self.schedule): next_time_to_run = self.maybe_due(entry, self.publisher) if next_time_to_run: remaining_times.append(next_time_to_run)

Why does EWS Managed API SyncFolderItems not return recurring appointments

你说的曾经没有我的故事 提交于 2019-12-10 16:48:48
问题 I'm using the managed API of EWS to synchronize a scheduling application with exchange calendars. I get all normal meetings fine, but I am not getting any repeating/recurring appointments. My code follows: itemChangeCollection = _service.SyncFolderItems( new FolderId(WellKnownFolderName.Calendar, new Mailbox(Email)), propertySet, null, Settings.Default.ExchangeSyncFetchCount, SyncFolderItemsScope.NormalItems, syncState); What do I need to change to see the recurring appointments as well? 回答1:

Recurring Events, SQL Query

ぃ、小莉子 提交于 2019-12-03 07:12:53
I am aware that questions about recurring events are common but I have not been able to find one with an answer to this specific question about recurring events other than those to do with calendar apps. The main difference being that the events in our app. will only ever be seen either in reports or by themselves rather than in a calendar format although in many ways they are very similar, maybe just with less of the baggage associated with calendars. In a similar way to a calendar app. events can either occur on a one-off basis or can be recurring E.g. every Thursday or first Monday of every

Recurring Events in Calendar - Rails

我只是一个虾纸丫 提交于 2019-12-03 00:22:38
问题 I am searching for the best way to model recurring events. I am using fullcalendar to display events. But I guess recurring events are best handled on the rails backend. I already looked at other questions and existing example code but I didn't find anything which fits. It should behave similar like google calendar. So it should be possible to delete/modify single events of the recurring event series. But saving all events of the event series in the database seems inefficient. Also it should

Recurring Events in Calendar - Rails

怎甘沉沦 提交于 2019-12-02 14:02:00
I am searching for the best way to model recurring events. I am using fullcalendar to display events. But I guess recurring events are best handled on the rails backend. I already looked at other questions and existing example code but I didn't find anything which fits. It should behave similar like google calendar. So it should be possible to delete/modify single events of the recurring event series. But saving all events of the event series in the database seems inefficient. Also it should be possible to create single events without any recurrence. What would be a good model architecture? My

Repeating Events on the “nth” Weekday of Every Month

拥有回忆 提交于 2019-11-30 05:21:59
I've looked at at least 2 dozen topics about this and haven't really found a good answer yet, so I come to you to ask once again for answers regarding the dreaded topic of Repeating Events. I've got Daily, Weekly, Monthly, and Yearly repeats working out fine for now (I still need to revamp the system with Exception events and whatnot, but it works for the time being). But, we want to be able to add the ability to repeat events on the (1st,2nd,3rd,4th,5th) [Sun|Mon|Tue|Wed|Thu|Fri|Sat] of every month, every other month, and every three months. Now, if I can just understand the logic for the

Database design for recurring events with exceptions

我的未来我决定 提交于 2019-11-29 00:53:29
问题 I'm building a system that needs to store/manage different types of events. For simplicity, I will focus on designing a calendar (I'm building something slightly different, but calendar is a good analogy and it's easy to reason about). I'd like to hear about possible database/schema design ideas. Problem Description I have a calendar with different types of events (for simplicity sake, say there is only 1 type of event: Task). User can add new event for a particular date, edit (change some