ps -ef | grep ai_tag_task.py | grep -v grep | awk '{print $2}' | xargs kill -9 cd /sunxy/aigc-test source activate srt nohup python ai_tag_task.py > logs/ai_tag_task.log 2>&1 & conda deactivate