Comments (9)
Thanks for this! I look forward to implementing this in v4.0.
from super.
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.
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.
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.
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.
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.
@tranziq Yeah that isn't a bad addition. A bit risky though, so definitely needs to be optional.
from super.
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.
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)
- Question on Deferral setup HOT 2
- Apple Software Update Failed HOT 2
- macOS Sonoma 14.4: launchctl kickstart -k is no longer permitted for critical system processes HOT 1
- How to turn off "Automatically relaunch the super workflow" HOT 1
- Superman can't install xcode when brew is installed with xcode CLI tools. HOT 1
- In macOS 14.4, the "launchctl" "kickstart" command has been deprecated by Apple. HOT 1
- Super 4.0.3 appears to launch every 60 seconds on some Sonoma Macs (both Intel and Apple Silicon) HOT 4
- password within plain text log HOT 1
- Upgrade from older OS to latest, Storage needed HOT 1
- Force to run update at the end of deferral timer feature request. HOT 1
- OS Update Stalled on all devices HOT 3
- Conflicting super configs when super profile is updated HOT 1
- Alternate workflow usage without affecting existing update workflow settings HOT 1
- super softwareupdate at login window with no GUI user logged in consistently hangs at black screen with Apple logo and progress bar HOT 5
- Jamf-Pro-External-Application-Custom-Schema-com.macjutsu.super-v4.1.0-beta1 HOT 1
- Problem with 14.5 Update on Silicon Macs HOT 1
- 4.1.0 - Update Failed Dialog doesn't have the option to close the dialog HOT 5
- 4.1.0 - Status: Deferral restrictions have changed since last super workflow run, full software status check required HOT 1
- Superman not going through workflow on m1 Machine HOT 1
- Unable to Successfully Update Major OS feature versions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super.