A
A
AKurmazov2017-07-30 11:44:08
Django
AKurmazov, 2017-07-30 11:44:08

How to check model every 24 hours in django?

I don’t know if I formulated the question correctly, but here’s what I need: check the User model every 24 hours and if the user has not verified his account through an email (which came to him by email) and if 7 days have passed since the email was sent, then delete it account. In what ways is it possible to implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Dergachov, 2017-07-30
@AKurmazov

For such tasks, it is best to use queues. Here is a library that implements this task

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question