最近在用django-celery添加定时任务,测试时启动过一次Beat,beat按理说是只能启动一个的但是不服务器都重启过了还是提示已有进程在运行。
ERROR: Pidfile (celerybeat.pid) already exists. Seems we're already running? (pid: 11068)
解决方法:
删除项目下 celertbeat.pid文件即可
http://stackoverflow.com/questions/8706674/celery-django-cannot-start-celerybeat-on-windows-7/8706765