A
A
Animkim2016-06-01 11:20:49
Django
Animkim, 2016-06-01 11:20:49

Sending letters, how to implement on Django?

There is a goal, to send every day a letter to a certain address. (for example)
How to implement it? I read about sending emails, everything is clear here, I can send an email on a specific event. But in my version, there is no event, the next day just comes, the function works out and the letter leaves, all this is in the background without calling the function.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2016-06-01
@Animkim

Write django command https://docs.djangoproject.com/en/1.9/howto/custom...
Add to cron stackoverflow.com/a/28467135

A
Alexander Pinkevich, 2016-06-01
@pinkevich

docs.celeryproject.org/en/latest/django/first-step...
Read about Periodic task in Celery

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question