Comment

Comment by 0xEFF

The caffeinate command is built into macos.

Edit: This keeps the computer awake until 6 PM each day.

  caffeinate -u -i -s -t $(($(date -j -f "%a %b %d %T %Z %Y" "$(date +"%a %b %d 18:00:00 %Z %Y")" "+%s") - $(date +%s)))
parent 0xEFF 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton