Enhancement: Add Task Running Time To A New %TRUN Output
Tasks getting stuck is a common problem (often from plugins that don't timeout, etc.) and there isn't a current global option to kill a task that is stuck. Although you can setup timers using that Timer project that is floating around, I think another method would be to add another %TRUN variable as %TRUNT (Tasks Running w/Time). It would receive the same data as %TRUN, except it would have the current (at reading of the %TRUNT state) elapsed task times (visible in the Running Tasks view).
This would allow users to more easily monitor %TRUNT variable (either on a timed call or Var IsSet monitor) and get the elapsed time.
Example %TRUNT Output:
MyTestTaskA[989:20],StuckTask[320:294018],Task callB[1001:3]
The numbers in the brackets are the unique task instance ID (as found in the Running Tasks and RunLog) and the elapsed time in seconds -> [ID:elapsed_time], allowing greater flexibility for debugging, logging, and monitoring for stuck tasks.