app/tasks.py
from background_task import background
@background(schedule=60)
def schedule_task():
print('running_tasks')
app/views.py
schedule_task(repeat=300, repeat_until=obj.end_date)
I have placed django_background_tasks into the INSTALLED_APPS and run migrate.
But When I try to run the tasks with the command python manage.py process_tasks the command doesn't work at all. When I hit the enter after writing the command nothing happens.