waschag-tvk / pywaschedv

MIT License
1 stars 0 forks source link

refund after 15 min if ente doesn’t say user logged in #4

Open yuwash opened 6 years ago

yuwash commented 6 years ago

Probably the main Django server should take care

kyeap commented 6 years ago

Todo: Check out how Django deals with reoccurring events, e.g. every 15mins

yuwash commented 6 years ago

This Jobs scheduling from django-extensions might be a good fit

yuwash commented 6 years ago

It seems like the Jobs scheduling feature mentioned above requires an external mechanism for recurrently triggering the task (such as cron). As long as there aren’t that many jobs that need to be run every hour, every day etc., we could just define the custom management commands without that extension. I’m thinking about using Django Q instead which does implement scheduling.