From 61849bb14ec49e40971c0c2433b3f61a0f1c9b7d Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 26 Jun 2024 19:05:08 +0800 Subject: [PATCH] Update tool_cron.py --- plugins/sphinx/tool_cron.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/sphinx/tool_cron.py b/plugins/sphinx/tool_cron.py index 2736a8971..434397b58 100644 --- a/plugins/sphinx/tool_cron.py +++ b/plugins/sphinx/tool_cron.py @@ -77,8 +77,8 @@ logs_file=$plugin_path/${rname}.log ''' % (mw_dir, name, getServerDir(), getPluginDir()) cmd += 'echo "★【`date +"%Y-%m-%d %H:%M:%S"`】 STSRT★" >> $logs_file' + "\n" cmd += 'echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" >> $logs_file' + "\n" - cmd += 'echo "python3 $script_path/index.py update_all >> $logs_file 2>&1"' + "\n" - cmd += 'cd $mw_dir && python3 $script_path/index.py update_all >> $logs_file 2>&1' + "\n" + cmd += 'echo "python3 $script_path/index.py update_all' + "\n" + cmd += 'cd $mw_dir && python3 $script_path/index.py update_all' + "\n" cmd += 'echo "【`date +"%Y-%m-%d %H:%M:%S"`】 END★" >> $logs_file' + "\n" cmd += 'echo "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" >> $logs_file' + "\n"