Video · This tutorial demonstrates how to automatically terminate an application that runs longer than 5 minutes. The video shows how to use the Task Scheduler Trigger to start a workflow every minute, the List Apps Action to gather all running instances, and the For Each loop with App Information Action to check each instance's runtime.
The tutorial then explains how to use the If Action to compare runtime values and the Terminate App Action to close only those instances exceeding 5 minutes, while leaving all others untouched.
In real-world scenarios, this workflow can keep resource-heavy apps under control, prevent runaway processes, and maintain stable performance without manual intervention.
The intuitive interface with Task creation and configuration Wizards will lead you through the Task design process without requiring scripting skills or preliminary training. It is easy to automate anything and anywhere with this no-code automation platform.
Tools used…
- Task Scheduler · Exclude · Overview
- List Apps · Overview · Variables
- For Each · Overview · Variables
- App Information · Overview · Variables
- If · Overview
- Terminate App · Overview
- Quick variable adjustments
Highlights
- Windows automation benefits · a quick automation overview.
- Actions · automate anything with state-of-the-art GUI. No code. All visual!
- Awesome facts · learn amazing tips & tricks about automation.
Universally available
Advanced job scheduler—Automation Workshop works flawlessly on all modern 32-bit and 64-bit Microsoft Windows versions: Windows 10 · Windows 11 · Server 2016 · Server 2019 · Server 2022 · Server 2025.
Older Windows versions (such as Windows 8 and Server 2012) are not "officially" supported but should still work remarkably well. The underlying architecture of Windows is evolving and our apps are crafted to be backward and forward compatible.
