2020-09-10 16:14:17 作者:Jimmyhe
Django crontab定时任务
pip install django-crontab
在settings.py中 INSTALLED_APP中添加'django_crontab'
查看已有的定时任务
python manage.py crontab show
添加定时任务
python manage.py crontab add
从服务器确认定时任务是否已经添加
crontab -l crontab -e
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持脚本之家。
电脑版 - 返回首页
2006-2023 脚本之家 JB51.Net , All Rights Reserved. 苏ICP备14036222号