Author |
Message |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
JobRun and queues |
|
Hi
If a job is run via the JAL statement JobRun, does it run in the queue of the calling job or in the queue that the called job is attached to?
|
|
Sun Mar 16, 2008 9:41 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7966
|
|
|
|
It runs in the same queue almost like as it was just as it subroutine in the calling job.
|
|
Mon Mar 17, 2008 12:14 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7966
|
|
|
|
By the way, if you want to launch a job, but don't wait for it to complete, you can use Run("24x7.exe /JOB [job id here]", "" pid) command
|
|
Mon Mar 17, 2008 10:44 am |
|
 |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
|
|
Thanks
If a job is detached and runs long will it block up it's queue?
|
|
Tue Mar 18, 2008 7:47 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7966
|
|
|
|
Queue blocking is controlled by the asynchronous property.
I have a feeling that you are asking about the 24x7 /JOB command not normally running detached jobs. This command runs jobs as independent system processes, not using job queues.
|
|
Tue Mar 18, 2008 8:07 pm |
|
 |
|