Skip to content

The purpose of this project is to automatically shut down Windows based on CPU and network usage when it's below a certain threshold

Notifications You must be signed in to change notification settings

ttwrpz/inactivity-shutdown-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inactivity Shutdown Windows

Version License: mit

About

The purpose of this project is to automatically shut down Windows based on CPU and network usage when it's below a certain threshold.

Installation

npm install

Usage

npm run start

Configuration

  • trigger_interval - Checking system usage every x seconds
  • average_interval_reset - Reset system usage average every x seconds
  • trigger_shutdown_times - Amount of times that meet requirements to trigger
  • trigger_shutdown_countdown - Amount of time before shutdown
  • trigger_cpu_usage_target - Maximum CPU percentage requirement
  • trigger_network_usage_target - Maximum Network Transmitted & Received usage (Mbps) requirement
  • debug - Enable debug messages in the console

Author

👤 Theerawat Patthawee

📝 License

Copyright © 2021 Theerawat Patthwee.

This project is MIT licensed.

About

The purpose of this project is to automatically shut down Windows based on CPU and network usage when it's below a certain threshold

Topics

Resources

Stars

Watchers

Forks