Scheduling automatic computer shutdowns with consideration of WAPT deployments
Published: May 26, 2025 - 3:11 PM
Hello,
I would like to create a package that implements a scheduled task in Windows to shut down computers at 10 PM.
Currently, I'm using a simple:
<Exec>
<Command>shutdown.exe</Command>
<Arguments>/s /t 60</Arguments>
</Exec>
However, I would like to know if there is a simple way to check if a WAPT installation is in progress and, if so, prevent it from shutting down.
I've noticed that when I deploy certain configurations with multiple software packages, the scheduled shutdown still occurs, interrupting the WAPT package deployment. It only resumes the next time the machine is shut down.
Thank you in advance.
I would like to create a package that implements a scheduled task in Windows to shut down computers at 10 PM.
Currently, I'm using a simple:
<Exec>
<Command>shutdown.exe</Command>
<Arguments>/s /t 60</Arguments>
</Exec>
However, I would like to know if there is a simple way to check if a WAPT installation is in progress and, if so, prevent it from shutting down.
I've noticed that when I deploy certain configurations with multiple software packages, the scheduled shutdown still occurs, interrupting the WAPT package deployment. It only resumes the next time the machine is shut down.
Thank you in advance.