Discussion (7)3
Log in or sign up to continue

In some way, I wonder about your question. This is a very specific question and a correct and accurate answer can be given by Intersystems only. If you take a look on the articles here, the most of them are about other lanuages, new technologies etc. but none of Cache/IRIS internals. If you look on the questions, very often they start with "I'm new to ISC technologies, need some help". Do you really expect an answer from an newbe? Or you really expect an answer from a Kubernetes, Phyton, Angular etc. developer? On the other hand, you are an Intersystems employee, so why don't ask somebody from the developer department? What about contacting WRC? I would be ashamed to ask such a question here.

Thanks for sharing answer.

Adding a snippet for %ZSTART in case fellow community person wished find / refer to later.

 #include %occStatus
  quit 0
SYSTEM() PUBLIC {
    Try {
    // Some test to determine whether to start or not
        if ##class(%File).Exists("c:\tmp\stop.txt") {
          Do INT^SHUTDOWN
        }  
    Catch { }
quit 0
}