KeepingYouAwake icon indicating copy to clipboard operation
KeepingYouAwake copied to clipboard

Creating a schedule

Open magnetic157 opened this issue 3 years ago • 1 comments

Would it be possible to add a scheduler?
I'd like to leave it activated during the day, but allow sleep at night automatically for example.

magnetic157 avatar Jul 15 '22 13:07 magnetic157

I'd like support for schedule too. I wonder if a temporary solution can be crafted for now.

From the docs, I see it's based on the caffeinate program.

Some options on osx

  • caffeinate -s will keep the display from sleeping until the power is plugged out
  • or caffeinate -t 28800 where 28800 is the number of seconds in an 8 hour period and this will keep the display from sleeping until the timeout has passed

nitrocode avatar Nov 17 '22 15:11 nitrocode