bambammason / macosx-nosleep-extension

Automatically exported from code.google.com/p/macosx-nosleep-extension
0 stars 0 forks source link

Enh. Request: Set Hours of Operation for NoSleep #87

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As a user, I want NoSleep to only be activated for a certain time period 
throughout the day, so that when I am at work, NoSleep is Active, but when I am 
home, NoSleep is Deactivated.

---
Currently, can only activate NoSleep when on Battery or on Power.  However, for 
me, I only need the functionality while I am at work.  When I leave for the 
day, and close the lid, I want my laptop to actually go to sleep and conserve 
the battery.

Original issue reported on code.google.com by arougtho...@gmail.com on 10 Jul 2013 at 1:44

GoogleCodeExporter commented 8 years ago
For now, I have done this with Cron:

0,10,20,30,40,50 8 * * 1-5 /usr/local/bin/NoSleepCtrl -a -b -s 1,1
0 17 * * 1-5 /usr/local/bin/NoSleepCtrl -a -b -s 0,0

Original comment by arougtho...@gmail.com on 10 Jul 2013 at 2:33