[Django]-Firing notifications at specific times in Django

5👍

cron is the right tool for this, but you don’t want a separate cron entry for each event. Instead, cron should trigger a Django script that checks the database for any notifications that are due, and fires them.

4👍

You may want to consider Celery and its periodic scheduled tasks. Then you could schedule the tasks directly from your Python code, without having to add a crontab entry for each one.

Leave a comment