Posted on 04-13-2015 03:19 PM
Has anyone attempted to perform policy updates or installs to computers that are in cart(s) asleep and lid closed? I notice the computers check-in while in this state, therefore, why not push updated policy at night when no one is around?
Posted on 04-13-2015 06:02 PM
You might take a look at "NoSleep 1.4" from Google. I've been testing it for just this purpose:
Installs seem to stall out with lid closed (when laptops are in a cart, for instance) unless this extension is present....let us know if you have any luck with it.
Posted on 04-13-2015 06:44 PM
To commands that might be useful depending on what your trying to do and if your into scripting.
caffeinate (Can be used to tell the machine not to sleep etc...).
pmset (Can be used to force the machine to wake properly at specified times).
I use pmset to preprogram a wake in the middle of the night and then have specific policies set to only be able to run during that same window.
Posted on 07-03-2017 08:40 AM
I'm wondering if anyone has any better solutions, now that it's been 2 years.
I tried setting a scheduled startorwake with pmset, and it's showing in the Energy Saver pane, but the devices don't seem to honor it, if the lid has been closed long enough.
Leaving caffeinate running 24/7 seems like an extraordinarily BAD idea. Not just for when it's on battery, but also when the lid is closed, and it's in a locked cart, with a couple dozen other computers running it. Might get a bit warm in there!
Has anyone else seen the pmset behavior we're seeing? Note - I haven't tested it under Sierra yet, and we had Deep Freeze last year. That's going away now. Maybe (hopefully) that will fix the problem with pmset - can anyone else confirm or deny?
Posted on 07-03-2017 04:34 PM
We opened a ticket a while back regarding this. The issue being
jamf binary not supporting Power Nap, not working when computer is asleep, etc.
There were some options tossed on the table, such as using
Network State Change trigger, which, given how often network state changes on wi-fi/ethernet, would cause a flood of check-ins.
Off to vote up this Feature Request: Trigger a policy to run during Power Nap
Posted on 07-03-2017 04:47 PM
When I was in edu, neighboring school used this, It's setup for Munki, but could be modified to work with Jamf
Posted on 07-05-2017 05:39 AM
Posted on 07-05-2017 05:40 AM
Posted on 08-02-2017 09:02 AM
Trying to get NoSleep to push out to student laptops, but after creating the .dmg using composer, it did not save the settings. I'd like to have it enabled while plugged in for power and start upon startup. Is there a command I need to run separately? Thanks.