I have a web app for PROPERTY MANAGEMENT that manages renters and their payments. I want to add a feature that sends a WhatsApp message to the renter, at a time specified by the user (Owner) from the UI. The time is generally 2 months prior, 1 month prior, and 1 day prior to the payment due date. I know celery is not supported in PythonAnywhere. Also, I am new to scheduling tasks on any platform. What should I do?
I can use Always On Tasks
but is there a way to communicate the script running in always on task with the web app database? For example, the always-running script continuously fetches the information from the web app's database, which has a field containing information regarding the time and date on which the message needs to be sent. So this field is continuously fetched and checked against the current time on the server, if it matches then the message is sent. Tell me if this idea is possible here in the Always-On Task. It would be very helpful.