Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
business
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitsoko services
business
Commits
f774bb7d
Commit
f774bb7d
authored
Nov 28, 2022
by
bitsoko services
👷🏿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doocaManager.js
parent
8da931e9
Pipeline
#1312
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doocaManager.js
bots/doocaManager.js
+1
-1
No files found.
bots/doocaManager.js
View file @
f774bb7d
...
...
@@ -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=
3
m'
,
'=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=
1
m'
,
'=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
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment