Home » Questions » Computers [ Ask a new question ]

Stop a Mac from sleeping while a bash script is running, then allow it to sleep as normal once complete

Stop a Mac from sleeping while a bash script is running, then allow it to sleep as normal once complete

I've got my Mac to wake up during the night and run an rsync to back it up. This is configured through Energy Saver > Schedule.

Asked by: Guest | Views: 59
Total answers/comments: 1
Guest [Entry]

"Try

man pmset

:-)"