2023-12-13 11:41:22 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -o errexit
|
|
|
|
|
|
|
|
set -o nounset
|
|
|
|
|
|
|
|
|
2023-12-19 16:03:02 +08:00
|
|
|
#watchmedo auto-restart -d yzk_wechat_event/ -p "*.py" -- celery multi start 6 -A yzk_wechat_event worker -l info --logfile=logs/celery.log --concurrency=4 -Q celery,contact,qrcode,check_follow_user, tag_remark_contact &
|
|
|
|
watchmedo auto-restart -d yzk_wechat_event/ -p "*.py" -- celery -A yzk_wechat_event worker -l info --logfile=logs/celery.log --concurrency=4 -Q celery,contact,qrcode,check_follow_user, tag_remark_contact &
|
2023-12-13 17:33:59 +08:00
|
|
|
celery -A yzk_wechat_event beat -l info --logfile=logs/celery_beat.log &
|
2023-12-13 11:41:22 +08:00
|
|
|
tail -f logs/*.log
|