2 Commits

Author SHA1 Message Date
星光-k
d58d806da5 Update start.sh 2025-01-16 03:36:09 +08:00
星光-k
693595ef0f Rename wenter.py to weather.py 2025-01-16 03:35:17 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
f_name=main.py
f1_name=wenter.py
f1_name=weather.py
dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
logdir="${dir%/*}/log"
# 确保日志目录存在
@@ -11,4 +11,4 @@ do
kill -9 $id
done
nohup /usr/bin/python3 -u $dir/$f_name > $logdir/info.log 2>&1 &
nohup /usr/bin/python3 -u $dir/$f1_name > $logdir/info-wenter.log 2>&1 &
nohup /usr/bin/python3 -u $dir/$f1_name > $logdir/info-wenter.log 2>&1 &

View File

@@ -39,4 +39,4 @@ except Exception as e:
exit()
# 脚本正常结束后的清理操作
exit()
exit()