TypeError: background() got an unexpected keyword argument 'repeat' [closed]

I have the below Django background tasks code that I want to run after 60 seconds. So running python manage.py process_tasks is giving the above error.

@background(repeat=60)
def checkAccountBalances():
    print(" working on it")

Back to Top