lundi 31 août 2020

How to make a small part of code in views.py to run for every x minutes in django server (using gunicorn and nginx)

  1. I have to run a reset the all values of a game every four minutes.
  2. Meanwhile, if the game runs for 2 minutes last 30sec should be used to compute the result. Following the above two criteria how to design my game. And I have made some effort to do this which is successful on localserver but on the production server it is not working properly. Here is my source code link

Please help me to solve this issue.




Aucun commentaire:

Enregistrer un commentaire