Commit f774bb7d authored by bitsoko services's avatar bitsoko services 👷🏿

Update doocaManager.js

parent 8da931e9
Pipeline #1312 failed with stage
......@@ -24,7 +24,7 @@ var er='ERROR! ROS: failed connection! Unable to update dooca gateway for this e
try{
//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']);
var doUp = await RosConn.write('/system/scheduler/add', ['=name=doocaUpdater', '=interval=1m', '=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']);
// await RosConn.close();
}catch(err){
......
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