UrLab / incubator

Django hackerspace website for UrLab
https://urlab.be
GNU Affero General Public License v3.0
18 stars 14 forks source link

Create recurring events #435

Open Mortinat opened 1 year ago

Mortinat commented 1 year ago

The idea of creating event each day of the week/month have been requested, My question is do we precreate all of them, or do we run a cron that created the needed one at the beginning of the week ?

Mortinat commented 1 year ago

@altf4arnold @lux1m

lux1m commented 1 year ago

I like the idea of a cron job, it sounds like it would be easy to implement since the syntax already exists to express a repetition interval. Maybe a cron job that makes a copy of an existing event x days in advance?

The problem is that this would pollute the existing events, so it might be better to have a single event that can happen on multiple dates instead. Not sure how this could be implemented.