Open sRspectrect68 opened 2 years ago
This sounds like a great idea, thanks! I think we could have a feature where the user can specify actions that happen when certain events occur.
Something very similar has been asked already. https://github.com/gawindx/WinNUT-Client/issues/39
Great... Can I ask what language WinNut was written in?
If I recall correctly, WinNUT was originally written in AutoIT (or another scripting language), then ported to its current language of Visual Basic .Net.
Visual Studio ?
I personally use it, I don't know about @gawindx or anyone else.
I needed this as well. As a workaround, I set up SSH on my Windows machine, and set my NUT server's upssched script to SSH into Windows and run a batch file and turn off power-intensive processes and set MSI Afterburner to use a low power profile. It's a bit hacky, but hey, it works for now.
It would be possible to add in the functionalities the possibility to start an external program or launch a BAT file, xxx seconds before the shutdown tanks, Spectre