3 ms·
For macOS (and Fish shell): caffeinate -d -i -t (math "((7*60)+30)*60") to prevent my laptop from sleeing for a specific period of time. I usually run it
by khaledh 2y ago
For macOS (and Fish shell):
caffeinate -d -i -t (math "((7*60)+30)*60")
to prevent my laptop from sleeing for a specific period of time. I usually run it at the beginning of every day.