+ Start a Discussion

Using the AsyncApexJob Object

I can get the number of batches running by running SOQL on the AsyncApexJob table, here.




My question is, how long can my apex program loop around in a DO | WHILE, waiting for an open slot (of the -5- available)????


Next question? Any word on when I can have more than -5- jobs in the queue, which is a beyond absurdly small number??