Timeline for Possible to run scripts on sleep and wake?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 21, 2020 at 8:51 | comment | added | bitboxer |
for me this worked: brew services start sleepwatcher; sudo cp /usr/local/Cellar/sleepwatcher/2.2.1/etc/sleepwatcher/rc.* /etc and then adding the ~/.sleep file.
|
|
Nov 15, 2020 at 6:02 | comment | added | Chris |
this DOES work for me in Catalina! You can just do brew install sleepwatcher to get it. Thanks!
|
|
Nov 11, 2020 at 9:07 | comment | added | Dzmitry Hubin | @user3056783 I think it actually works as it should hang if u are running it in terminal. That's why it should be run as a daemon process via LaunchAgents as I mentioned in further steps. | |
Nov 10, 2020 at 8:57 | comment | added | user3056783 |
Does not seem to work on me. I'm on Catalina and simply running /usr/local/sbin/sleepwatcher --verbose --sleep ~/.sleep hangs up.
|
|
Jun 9, 2020 at 14:05 | comment | added | Duck | sleepwatcher does not work for me on calalina wih an internal SSD disk. I guess the SSD is so fast that the computer sleeps before the script can run. | |
Feb 20, 2020 at 15:28 | history | edited | Dzmitry Hubin | CC BY-SA 4.0 |
deleted 1 character in body
|
Feb 18, 2020 at 20:45 | review | First posts | |||
Feb 18, 2020 at 20:47 | |||||
Feb 18, 2020 at 20:42 | history | answered | Dzmitry Hubin | CC BY-SA 4.0 |