in reply to Job scheduling?
Is this pseudo-code correct?
update batch_status to START update log file create pool of 5 threads while batch not complete { if open thread available { get next job from stored procedure and execute in that thread } handle any completed thread(s) } update batch_status to STOP update log file
|
|---|