mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
计划任务修复
This commit is contained in:
@@ -474,7 +474,7 @@ fi''' % (mw.getPanelDir(),)
|
||||
shell = wheres[stype]
|
||||
except:
|
||||
if stype == 'toUrl':
|
||||
shell = head + "curl -sS --connect-timeout 10 -m 60 '" + param['urladdress'] + "'"
|
||||
shell = head + "curl -sS --connect-timeout 10 -m 60 '" + param['url_address'] + "'"
|
||||
else:
|
||||
shell = head + param['sbody'].replace("\r\n", "\n")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user