![]() |
#12 |
Участник
|
\Classes\BatchRun\serverCleanUpDeadTasks
X++: //cancel executing jobs for disabled users update_recordset batchJob setting Status = BatchStatus::Cancelling where batchJob.Status == BatchStatus::Executing exists join userInfo where userInfo.Id == batchJob.CreatedBy && userInfo.Enable == false; ... //Send waiting jobs to hold update_recordset batchJob setting Status = BatchStatus::Hold where batchJob.Status == BatchStatus::Waiting exists join userInfo where userInfo.Id == batchJob.CreatedBy && userInfo.Enable == false; Но вроде бы это приводило к аналогичному результату. |
|
|
|