views:

13

answers:

0

How easy would it be to be able to pause and resume jobs, based on whether they have a specific entry in their datamap? Would something like this work)

foreach jobdetail
     if (dataMap.GetBoolean("config1") == true)
            pause job
     end if
end for

Can anyone give me ideas on how to construct the foreach look to loop for every job, or suggest a better way for what I'm doing? Thanks