#1 2020-04-22 15:27

Bayleyvilla
Member
Registered: 2020-04-22
Posts: 2

Stay awake during windows updates

Greetings.
I use shutter very simply no user interaction for 1 hour then shutdown.

What I would like is to keep that but make it pause during file download of windows update.

Any help please.

Regards
Alan

Offline

#2 2020-04-22 17:40

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,023

Re: Stay awake during windows updates

You could try using a combination of 3 events, for example:

1) User Inactive: Inactive for 1:00:00 using Last Input Event
2) CPU Usage: Below 10% for 600 seconds
3) Network Usage: Below 10 KB/s for 600 seconds

These should be used with "ALL" logic to achieve the desired effect.

You will probably want to play around with the specific parameters to make sure it works for you.

Offline

#3 2020-04-23 10:18

Bayleyvilla
Member
Registered: 2020-04-22
Posts: 2

Re: Stay awake during windows updates

Wow. Thanks for the great answer, worked as you said it would no alterations required.

Now may i ask another question:
email client's polling for emails, this resets the counter any way round this.

Regards
Alan

Offline

#4 2020-04-24 18:44

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,023

Re: Stay awake during windows updates

You could quit the email client wink

Alternatively, you could try monitoring for a Windows Update related process, or maybe scheduling it at other known times.

Offline

Board footer

Powered by FluxBB