[Fixture] 详情页添加system user 推送

This commit is contained in:
ibuler
2017-04-05 19:09:51 +08:00
parent 25b8108af0
commit 92ebe85a3f
17 changed files with 129 additions and 57 deletions

View File

@@ -31,7 +31,7 @@ def start_celery():
os.environ.setdefault('C_FORCE_ROOT', '1')
os.environ.setdefault('PYTHONOPTIMIZE', '1')
print('start celery')
subprocess.call('celery -A common worker -s /tmp/celerybeat-schedule -l debug', shell=True)
subprocess.call('celery -A common worker -B -s /tmp/celerybeat-schedule -l debug', shell=True)
def main():