Using JOB to run a process in the background
Hello,
I need to run some clean up routine in the background so loss of my terminal session won't stop the process.
I found the JOB command in the documentation.
JOB | ObjectScript Reference | InterSystems IRIS Data Platform 2022.1
When I try it, it doesn't seem to be doing much. I also expected this to become visible in the Background Tasks but that doesn't happen either.
Probably I am missing something.
This is the command I am running:
JOB ##class(HIHLib.Support.GetHL7MessageStat).ISBListingQuery("2017-01-01","2017-02-01",0,"WAHISCL",-1,0)::10
The same command without the ::10 has the same effect.
We are running on IRIS 2020.1.1.408.0