The purpose of this project is to automatically shut down Windows based on CPU and network usage when it's below a certain threshold.
npm install
npm run start
trigger_interval
- Checking system usage everyx
secondsaverage_interval_reset
- Reset system usage average everyx
secondstrigger_shutdown_times
- Amount of times that meet requirements to triggertrigger_shutdown_countdown
- Amount of time before shutdowntrigger_cpu_usage_target
- Maximum CPU percentage requirementtrigger_network_usage_target
- Maximum Network Transmitted & Received usage (Mbps) requirementdebug
- Enable debug messages in the console
👤 Theerawat Patthawee
- Github: @ttwrpz
Copyright © 2021 Theerawat Patthwee.
This project is MIT licensed.