Skip to content

Scripts to run as task and check task#107

Open
addohm wants to merge 2 commits intoShuzhengz:mainfrom
addohm:main
Open

Scripts to run as task and check task#107
addohm wants to merge 2 commits intoShuzhengz:mainfrom
addohm:main

Conversation

@addohm
Copy link
Copy Markdown

@addohm addohm commented Oct 25, 2025

Added some scripts that will create/remove a task that uses a generated script that will check to make sure the task is running every minute and if it isn't, it restarts the task. Checks 3 times and if it fails it pops up with an error. Also logs all the actions.

This script sets up a monitor for TPFanControl, creating a scheduled task to ensure it runs continuously. It includes parameters for process name, retries, and check intervals.
This script removes the monitor script and Task Scheduler task, with options for confirmation and forced deletion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant