Celery

418 查看

celery -A libs.tasks worker -l info

默认是UTC时间,一定要注意

用eta的时候注意,最好是幂等的,因为在每个worker都可能提交一个任务
eta任务不能用redis做broker