Skip to main content

Hello all,

I have gotten Notify and connect to work with my deployments. However user's screen are turning off when Notify is running. 

1. Is the computer sleeping or is the screen just turning off?

2. If it is sleeping I want to make config profile to turn off sleep that will push initially, but removed via smartgroup after Notify has finished. What would you suggest for the smartgroup criteria?

We have had this issue as well. We added caffeinate to the notify script to keep the computer from going to sleep during notify.

/usr/bin/caffeinate -discu -t 3600&

This will keep the computer from going to sleep for an hour. The 3600 is in seconds so you can adjust if you don't want it to be for an hour or want it longer. The & tells it to run in the background which if you don't do that it will break the notify script.


We have had this issue as well. We added caffeinate to the notify script to keep the computer from going to sleep during notify.

/usr/bin/caffeinate -discu -t 3600&

This will keep the computer from going to sleep for an hour. The 3600 is in seconds so you can adjust if you don't want it to be for an hour or want it longer. The & tells it to run in the background which if you don't do that it will break the notify script.


This is perfect!


We have had this issue as well. We added caffeinate to the notify script to keep the computer from going to sleep during notify.

/usr/bin/caffeinate -discu -t 3600&

This will keep the computer from going to sleep for an hour. The 3600 is in seconds so you can adjust if you don't want it to be for an hour or want it longer. The & tells it to run in the background which if you don't do that it will break the notify script.


Thanks @cory_barnett !  However i am getting errors and had to remove the "c" argument from your command and adjusted it to the following.

 

/usr/bin/caffeinate -disu -t 3600&