Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.31 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.31 KB

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.