[Feature Request]: Auto Shutdown Extension
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What would your feature do ?
This extension would shut the PC down after the current batch was completed. It'd be useful for large batch counts.
Proposed workflow
It'd be shown as a toggle in the txt2img tab. When activated, the webui would execute this command shutdown /s /t 1 and turn off the system.
Additional information
No response
its really not up to application to shutdown your system - if you want to do that, you can script it outside of webui (e.g. monitor output folder and once desired count is reached, do a shutdown). or even better, do it via webui api.
I can see it being useful to have an extension that runs a generic command on batch completion - not just shutdowns, but beeps, desktop toasts, emails, cache clearing, etc. But it would have to be obvious and easy to turn off, for folks like me who would 100% forget when I wake up and want to run a refined batch of like 4.
This should do in a pinch but it's untested
https://github.com/Betterlife-exe/ShutdownAfterFileGen