Python & Django web app - auto emails not sending

34 views Asked by At

I had a web app developed but found the automated emails are not sending. I found the .py file for sending the email, but cannot find another file calling this. filetree showing .py file

Is there a standard file to place a call to the send_due_email.py file?

If I find that there is nothing calling this file to run, where should the code be placed?

I want the emails sent once a week - maybe every sunday How can I setup the software to run this file every Sunday?

***Edit Cron works well for this. I have it working thank you. For testing I added the following line to send an email every minute

          • /root/venv/bin/python3 /root/manage.py send_due_email
0

There are 0 answers