Y
Hacker News
new
|
ask
|
show
|
jobs
by
lambdaba
1521 days ago
The more unixy way is probably `timeout <seconds> caffeinate` :)
1 comments
bajsejohannes
1521 days ago
Or `caffeinate sleep <seconds>` which has the (only) added benefit that it comes pre-installed with MacOS
link
lambdaba
1518 days ago
Yes but this got me thinking is it makes more sense to sleep after timing out the caffeination instead of keeping the sleep command running ;) that's enough Unix for the day haha
link