Detached means that the job is not run in the scheduler process memory space. It is run by a separate instance of 24x7.exe process. Basically this property controls how the job is invoked and run. Using "detached=true" is the same as running the job from the DOS command line using "24x7.exe /JOB" command. If you open the Task Manager you will find 2 instances of 24x7.exe. The function does not create its own instance of the 24x7 Remote Control COM component. : Can you elaborate more on the RunJob COM function? It's not : entirely clear to me on what the "Detached" boolean does. : Referencing the API documentation, what's meant by "Run the job using : a separate instance of 24x7 scheduler"? : Does the function create its own instance of the 24x7 Remote Control : COM object? : I'm also interested in what "job specifics" might mean in the : "Note:" section of : the documentation. : For the couple jobs I started with this call, and "Detached" equals : FALSE, : 24x7 job logs return an error message of "Unable to release thread : JOB_THREAD0" : This error is not occur with "Detached" equal TRUE. : Any details would be great. : Thanks, : Thuan
|