4 ms·
The more unixy way is probably `timeout <seconds> caffeinate` :)
by lambdaba 4y ago
The more unixy way is probably `timeout <seconds> caffeinate` :)
- bajsejohannes 4y agoOr `caffeinate sleep <seconds>` which has the (only) added benefit that it comes pre-installed with MacOS
- lambdaba 4y agoYes 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