TLG_JoinCaptchaBot/sources/status

10 wiersze
171 B
Plaintext
Czysty Zwykły widok Historia

2019-04-12 15:22:10 +00:00
PID=ps -aux | grep -e "[j]oin_captcha_bot.py" | awk 'FNR == 1 {print $2}'
if [ -z "$PID" ]; then
echo "Not running."
else
echo "Running (PID - $PID)."
fi
exit 0