Skip to content

Commit db04b3f

Browse files
committed
update
1 parent fb7c5d9 commit db04b3f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -193,3 +193,4 @@ plugins/goedge-happy
193193
/data
194194
/plugins/flexcdn
195195
/plugins/tools
196+
/plugins/choose-linux-python

Diff for: web/admin/setup/init_cron.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
# Author: midoks <[email protected]>
99
# ---------------------------------------------------------------------------------
1010

11+
import core.mw as mw
1112

1213
# 识别linux计划任务
1314
def init_cron():
14-
print("开始识别cron")
15-
print("结束识别cron")
15+
16+
content = mw.execShell("crontab -l")
17+
print(content)

0 commit comments

Comments
 (0)