"Report Long Running Tasks" will query the micstats database and report back information about any tasks that have be running longer than the specified time interval.
Input Parameters
ReportLongTasks_Time (Required) - Specifies the number of hours or days a task has to have been running to be included in the report.
ReportLongTasks_Unit (Required) - Specifies whether the ReportLongTasks_Time parameter is in hours or days.
ReportLongTasks_CommandTimeout - The timeout in seconds to use when performing database queries. Default is 3 minutes.
Output Parameters
ReportLongTasks_Results - Returns a list of tasks that have been running longer than the specified length of time, or a blank string if there were errors.
Notes
The output parameter ReportLongTasks_Results should most commonly be used in a message body for a Send Email step that occurs after the Run Script step for Report Long Running Tasks.