I have a 2 models that I wish to interact/update every 7 days without needing me to execute. ( wether the website is online or offline )( local hosting for now )
class Model: name = model... quantity = models.IntegerField(default=0)
obj A name = A quantity = 0
obj B name = B quantity = 1,000,000
I'm trying to find a way to transfer 1000 from obj B to obj A, every 7 days.
I am looking but still can't find an answer that simplifies this situation.
Thanks for the help!
I haven't tried anything yet since I do not know where to start. I know how to update objects manually, on page load or with signals.
it may have something to do with DateTime but I am not sure. Currently, there is no date field in the model.
Or celery, but I have never used it before.