This topic created in 3103 days ago, the information mentioned may be changed or developed.
2 replies • 2018-05-23 20:56:26 +08:00
 |
|
Management command + crontab
|
 |
|
已经解决了 ``` import django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dailyfresh.settings") django.setup()
``` 下面写脚本就行了
|