1👍
✅
If you want create script use your django project start script by:
import os
import sys
import django
#Don't forget '/' at end in path.
PATH_PROJECT = os.path.dirname('/path/to/your/project/')
sys.path.append(PATH_PROJECT)
os.environ['DJANGO_SETTINGS_MODULE'] = 'project.settings'
django.setup()
from straightred.models import StraightredFixtureLive
## many operations.
After add cronjob for this script.
Source:stackexchange.com