Anyone knows how to schedule a Django script to run at a certain date and time?
Example:
User enters someone’s contact info on frontend, Django backend receives the form data, but doesn’t send the contact an email until 48 hours later.
Anyone has an idea? I saw Cron, but looks like Cron needs to be executed and doesn’t automatically execute on its own? Just need help learning the scheduling feature.
You need to use some background task manager and scheduler.
Celery is for managing and execution tasks and Celery Beat will help to schedule the periodic tasks or cron and will be executed at given time.