This commit is contained in:
xyj 2024-03-02 10:42:23 +08:00
parent 61ca87d173
commit ad804df242
2 changed files with 10 additions and 2 deletions

View File

@ -251,7 +251,15 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1709346294546</updated> <updated>1709346294546</updated>
</task> </task>
<option name="localTasksCounter" value="9" /> <task id="LOCAL-00009" summary="update">
<option name="closed" value="true" />
<created>1709347113656</created>
<option name="number" value="00009" />
<option name="presentableId" value="LOCAL-00009" />
<option name="project" value="LOCAL" />
<updated>1709347113656</updated>
</task>
<option name="localTasksCounter" value="10" />
<servers /> <servers />
</component> </component>
<component name="UnknownFeatures"> <component name="UnknownFeatures">

View File

@ -4,7 +4,7 @@ import subprocess
def job(): def job():
subprocess.Popen(cmd=['supervisorctl reload'], shell=True) subprocess.Popen(['supervisorctl reload'], shell=True)
print("任务执行了!当前时间:", time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())) print("任务执行了!当前时间:", time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()))