We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PID=$(ps -ef | grep UpbitAutoTrade.py | head -n1 | awk {'print $2'})
부분이 종종 grep 의 pid 를 탐색하여 종료가 제대로 되지않는 문제가 있습니다.
따라서 중간에 grep -v grep 파이프를 추가하여 grep의 pid 는 탐색하지 않도록 설정하면 해당 오류를 제거할수있습니다.
코드로는 다음과 같습니다.
PID=$(ps -ef | grep UpbitAutoTrade2.py | grep -v grep | head -n1 | awk {'print $2'})
The text was updated successfully, but these errors were encountered:
No branches or pull requests
PID=$(ps -ef | grep UpbitAutoTrade.py | head -n1 | awk {'print $2'})
부분이 종종 grep 의 pid 를 탐색하여 종료가 제대로 되지않는 문제가 있습니다.
따라서 중간에 grep -v grep 파이프를 추가하여 grep의 pid 는 탐색하지 않도록 설정하면 해당 오류를 제거할수있습니다.
코드로는 다음과 같습니다.
PID=$(ps -ef | grep UpbitAutoTrade2.py | grep -v grep | head -n1 | awk {'print $2'})
The text was updated successfully, but these errors were encountered: