Posted July 12, 20204 yr I made a basic script to run diskcleanup silently, I already configured it...and the script seems to execute the disk cleanup on the local machine but it runs indefinitely, meaning pulse way doesn't seem to know when the script is done. ..any help is appreciatedĀ Ā cleanmgr /verylowdisk /sagerun:5
July 13, 20204 yr On 7/12/2020 at 8:21 AM, focusedddd said: I made a basic script to run diskcleanup silently, I already configured it...and the script seems to execute the disk cleanup on the local machine but it runs indefinitely, meaning pulse way doesn't seem to know when the script is done. ..any help is appreciatedĀ Ā cleanmgr /verylowdisk /sagerun:5 Cleanmgr needs UI to run, so as a workaround you can use SysInternal's PsExec as part of the disk cleaning process and by using PsExec with its '-si' arguments, you'll be able to perform your script through Pulseway. Without being able to spawn the UI, the cleanmgr process will hang thus leaving the Pulseway script execution running indefinitely.
Create an account or sign in to comment