|
1 | 1 | <?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"> |
3 | 3 | <Class name="cls.kutac.monitor.utils.Installer"> |
4 | | -<TimeChanged>63756,59616.718811</TimeChanged> |
| 4 | +<TimeChanged>63757,47038.203943</TimeChanged> |
5 | 5 | <TimeCreated>63732,50627.865496</TimeCreated> |
6 | 6 |
|
7 | 7 | <XData name="Install"> |
@@ -109,12 +109,11 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description> |
109 | 109 |
|
110 | 110 | <Method name="Update"> |
111 | 111 | <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> |
113 | 113 | <ReturnType>%Status</ReturnType> |
114 | 114 | <Implementation><![CDATA[ |
115 | 115 | Set namespace = $Namespace |
116 | 116 | Set SSLConfig = "GitHub" |
117 | | - |
118 | 117 | Zn "%SYS" |
119 | 118 | Do:'##class(Security.SSLConfigs).Exists(SSLConfig) ##class(Security.SSLConfigs).Create(SSLConfig) |
120 | 119 |
|
@@ -227,10 +226,12 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description> |
227 | 226 | write !, "Starting Monitor" |
228 | 227 | set st3 = ..RunningMonitor() |
229 | 228 | write !, "Creating Task" |
| 229 | + Do tInstaller.PopNS() |
| 230 | + Do tInstaller.PushNS(Namespace) |
230 | 231 | set st4 = ..CreateTask() |
| 232 | + Do tInstaller.PopNS() |
231 | 233 | set st = $$$ADDSC(st4, $$$ADDSC(st1, $$$ADDSC(st2, st3))) |
232 | 234 | if $$$ISERR(st) Throw ##class(%Installer.Exception).CreateFromStatus(st) |
233 | | - Do tInstaller.PopNS() |
234 | 235 | quit $$$OK |
235 | 236 | ]]></Implementation> |
236 | 237 | </Method> |
@@ -312,9 +313,11 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description> |
312 | 313 |
|
313 | 314 | <Method name="CreateTask"> |
314 | 315 | <ClassMethod>1</ClassMethod> |
315 | | -<FormalSpec>min:%Integer=180</FormalSpec> |
| 316 | +<FormalSpec>hrs:%Integer=3</FormalSpec> |
316 | 317 | <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) |
318 | 321 | ]]></Implementation> |
319 | 322 | </Method> |
320 | 323 | </Class> |
|
0 commit comments