python-后台运行

nohup python3 -u ./logChecker.py > logChecker.log 2>&1 & echo $! > pidfile.txt

kill -9 `cat pidfile.txt`