Giter VIP home page Giter VIP logo

Comments (9)

Macjutsu avatar Macjutsu commented on July 28, 2024 3

Thanks for this! I look forward to implementing this in v4.0.

from super.

Macjutsu avatar Macjutsu commented on July 28, 2024

Good ideas here. During the maintenance window would you want to force the update/restart if someone was logged into the system? I ask because if there was a habitually logged in computer it would never update/restart.

from super.

jshirle2 avatar jshirle2 commented on July 28, 2024

In my mind that is what the unattended mode would be for. So, if you had a maintenance window set from 2 AM to 6 AM, and unattended mode is false (default I would assume) then Super would just start a countdown to reboot the system. I am not familiar enough with the options yet to know whether that could just utilize another option you already have created.

An admin could be extra safe and use unattended mode = true and maintenance windows 2 AM to 6 AM to only install updates during the time if no one was logged into the machine (that is probably what I would use for my initial use case).

from super.

KUSU2 avatar KUSU2 commented on July 28, 2024

This would help with our needs as well. We use an auto logout profile so if a lab machine is unattended it logs the user out after x minutes (standard jamf settings profile). It does not always work though as certain apps keep the session alive if the user leaves them running. A "killall loginwindow" usually gets the user off so we can continue maintenance or a forced reboot (for some reason the reboot doesn't always work). A force out option with Super would help nicely with unattended maintenance windows.

from super.

wakco avatar wakco commented on July 28, 2024

I'm interested in this too, my focus has been or staff computers but we do have labs here as well, where I'd like to limit it to weekends, however I was thinking about limiting all the defer features, and having a jamf policy to run it limited to the weekends.

from super.

tranziq avatar tranziq commented on July 28, 2024

you could put an IDLE timeout variable for unattended install. say if no input from keyboard or mouse for ~45 minutes, start the startosinstall unattended and force restart.

from super.

jshirle2 avatar jshirle2 commented on July 28, 2024

@tranziq Yeah that isn't a bad addition. A bit risky though, so definitely needs to be optional.

from super.

tranziq avatar tranziq commented on July 28, 2024

Here is what we are using for our idle timeout function.

fIdleTime() { local _idle=$(echo $((ioreg -c IOHIDSystem | sed -e '/HIDIdleTime/ !{ d' -e 't' -e '}' -e 's/.* = //g' -e 'q' / 1000000000))) echo ${_idle} | sed 's/ //g' }

if [ "${fIdleTime}" -ge 2700 ] && [ "${currentDeferalCount}" -ge "${9}" ]; then continue workflow else Defer

from super.

mauriciope avatar mauriciope commented on July 28, 2024

This will be very useful to several of our hot desks/shared iMacs.

One thing we had feedback from our end users while doing in place macOS upgrades is that it is happening during working hours, when they are "very very busy", and instead of deferrals they would like to set a date/time to when it will happen.
This would be another implementation but it could fall under this "maintenance window" and force/set the update/upgrade there and then.

from super.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.