Jump to content
  • 0

Prevent shutdown (or any other script) when DrivePool does scan/check/balance


Pintu

Question

I am running a powershell script that initiates a system shutdown at a specific time - nothing fancy, basically just a  "shutdown -s -t 60". 

I would like not to execute this script when DrivePool is doing anything, be it measuring, checking, balancing (or anything I have missed here). Is that possible? Are any "flags" accessble that I could use in a script?

Initially I thought Windows Task Scheduler would be up to the job, because it has an option to prevent starting a task if the system is "idle", but this appears only to measure user activity. I would need something from DrivePool that I could pick up in my script, even if its is just a temp file that is created when DrivePool does something and removed when finished.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...