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"