mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 05:29:25 +08:00
Update tool_cron.py
This commit is contained in:
@@ -125,7 +125,7 @@ logs_file=$plugin_path/${rname}.log
|
||||
mw.writeFile(getTaskConf(), json.dumps(args))
|
||||
|
||||
def createBgTaskDeltaByName(name):
|
||||
args = getConfigData()
|
||||
args = getConfigDeltaData()
|
||||
_name = "[勿删]Sphinx增量更新[" + name + "]"
|
||||
res = mw.M("crontab").field("id, name").where("name=?", (_name,)).find()
|
||||
if res:
|
||||
|
||||
Reference in New Issue
Block a user