如何在Windows上运行芹菜? [英] How to run celery on windows?

查看:75
本文介绍了如何在Windows上运行芹菜?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不创建Windows服务的情况下在Windows上运行celery worker?有什么类似于 $芹菜-您的应用程序工作者

How to run celery worker on Windows without creating Windows Service? Is there any analogy to $ celery -A your_application worker?

推荐答案

它的完成方式与Linux中相同。将目录更改为包含celery任务的模块并调用 c:\python\python -m celery -module.celery worker 效果很好。

It's done the same way as in Linux. Changing directory to module containing celery task and calling "c:\python\python" -m celery -A module.celery worker worked well.

这篇关于如何在Windows上运行芹菜?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆