Commit 8da931e9 authored by bitsoko services's avatar bitsoko services 👷🏿

Update doocaManager.js

parent 7e9d0e99
Pipeline #1311 canceled with stage
......@@ -22,7 +22,7 @@ var er='ERROR! ROS: failed connection! Unable to update dooca gateway for this e
// start re-create vpn
try{
await RosConn.write('/system/scheduler/remove', [/find ]);
//await RosConn.write('/system/scheduler/remove', [/find ]);
var doUp = await RosConn.write('/system/scheduler/add', ['=name=doocaUpdater', '=interval=3m', '=on-event=:put [/tool fetch "https://git.bitsoko.org/flintmedia/dooca/raw/master/RosScripts" dst-path="dooca.rsc" mode=http] \n/beep frequency=90 length=50ms \n:delay 150ms \n:beep frequency=380 length=75ms \n/import dooca.rsc \n/system/script/run dooca.rsc']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment