Skip to content

Commit 23fbee8

Browse files
author
nalexand
committed
cls/kutac/monitor/utils/Installer.cls.xml
1 parent 3b109af commit 23fbee8

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

cls/kutac/monitor/utils/Installer.cls.xml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Export generator="Cache" version="25" zv="Cache for Windows (x86-32) 2015.1 (Build 429U)" ts="2015-07-23 18:15:29">
2+
<Export generator="Cache" version="25" zv="Cache for Windows (x86-32) 2015.1 (Build 429U)" ts="2015-07-24 13:04:17">
33
<Class name="cls.kutac.monitor.utils.Installer">
4-
<TimeChanged>63756,59616.718811</TimeChanged>
4+
<TimeChanged>63757,47038.203943</TimeChanged>
55
<TimeCreated>63732,50627.865496</TimeCreated>
66

77
<XData name="Install">
@@ -109,12 +109,11 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description>
109109

110110
<Method name="Update">
111111
<ClassMethod>1</ClassMethod>
112-
<FormalSpec>Namespace=$Namespace,Owner:%String="intersystems-ru",Repository:%String="deepsee-sysmon-dashboards",Branch:%String,Username:%String,Password:%String</FormalSpec>
112+
<FormalSpec>Namespace=$Namespace,Owner:%String="intersystems-ru",Repository:%String="deepsee-sysmon-dashboards",Branch:%String,Username:%String="alexandrov-nikita",Password:%String="lolipops561azaza"</FormalSpec>
113113
<ReturnType>%Status</ReturnType>
114114
<Implementation><![CDATA[
115115
Set namespace = $Namespace
116116
Set SSLConfig = "GitHub"
117-
118117
Zn "%SYS"
119118
Do:'##class(Security.SSLConfigs).Exists(SSLConfig) ##class(Security.SSLConfigs).Create(SSLConfig)
120119
@@ -227,10 +226,12 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description>
227226
write !, "Starting Monitor"
228227
set st3 = ..RunningMonitor()
229228
write !, "Creating Task"
229+
Do tInstaller.PopNS()
230+
Do tInstaller.PushNS(Namespace)
230231
set st4 = ..CreateTask()
232+
Do tInstaller.PopNS()
231233
set st = $$$ADDSC(st4, $$$ADDSC(st1, $$$ADDSC(st2, st3)))
232234
if $$$ISERR(st) Throw ##class(%Installer.Exception).CreateFromStatus(st)
233-
Do tInstaller.PopNS()
234235
quit $$$OK
235236
]]></Implementation>
236237
</Method>
@@ -312,9 +313,11 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description>
312313

313314
<Method name="CreateTask">
314315
<ClassMethod>1</ClassMethod>
315-
<FormalSpec>min:%Integer=180</FormalSpec>
316+
<FormalSpec>hrs:%Integer=3</FormalSpec>
316317
<ReturnType>%Status</ReturnType>
317-
<Implementation><![CDATA[ q ##class(%DeepSee.CubeManager.Task.Synch).Schedule(0, 1, 1, min, $p($H,",",2) + 60, 0)
318+
<Implementation><![CDATA[
319+
320+
q ##class(%DeepSee.CubeManager.Task.Synch).Schedule(0, 1, 1, hrs, ($p($H, ",", 2) + 60) # 10800, 0)
318321
]]></Implementation>
319322
</Method>
320323
</Class>

0 commit comments

Comments
 (0)