rasolar/start_logger.sh

11 lines
186 B
Bash
Executable File

#!/bin/sh
script=$(readlink -f $0)
scriptpath=$(dirname ${script})
cd $scriptpath
nohup python3 pyweb.py &
for i in $(find ${scriptpath} -name "log_*.py"); do
nohup python3 $i &
done