1: Save this code in a JavaScript library called JSlib (or whatever you choose just remember to change references)
Code:
function unloadFileFromSchedule(schedule)
{ var rteReturnValue = new SCDatum();
var rteNames = new SCDatum();
rteNames.push("record");
var rteValues = new SCDatum();
rteValues.setType(8);
rteValues=system.functions.insert(rteValues, 0, 1, schedule);
system.functions.rtecall("callrad", rteReturnValue,
"unload.background", //RAD app name
rteNames,
rteValues,
false); //false to run in same thread, true to run in new thread
return true;
}
Code:
if (true)
{system.library.JSlib.unloadFileFromSchedule(vars["$L.schedule"]);
}
- Goto database manager
- Select the file you want to unload from
- Query for the records you want to unload
- Rigth click and select mass unload
- Click on Schedule
- Choose the parameters for the schedule, make sure it in future
- Click on confirm
- Via database manager find the schedule record
- Remove unload.background from the field Application
- In javascript paste code 2
- Save the schedule


Section Widget
Recent Article Comments Widget


I added the variable reset and that cleared up that part of the issue. I'm still getting the...
Kill User Sessions without being SysAdmin
jmbetty on 2010-08-19