In an earlier post I showed how to kill idle sessions from C/AL code. I have been asked to provide a batch that works with Job Queue.
To set this up please add a field to table 91. Field name is “Kill Idle Duration” and the data type is “Duration”. In my case this field has the number 50000. If that number is unavailable just use another number and import the text object and compile.
Attached is the report that can be used in the job queue. Just make sure that the user running the job queue has enough permissions as shown in my earlier post.
If this is of any value to you please check my copyright page and donate to the web.