SleepWatcher monitors sleep, wakeup and idleness of a Mac. It can be used to execute a Unix command when the Mac or the display of the Mac goes to sleep mode or wakes up or after a given time without user interaction. It also can send the Mac to sleep mode or retrieve the time since last user activity.
SleepWatcher monitors sleep, wakeup and idleness of a Mac. It can be used to execute a Unix command when the Mac or the display of the Mac goes to sleep mode or wakes up or after a given time without user interaction. It also can send the Mac to sleep mode or retrieve the time since last user activity.
To install sleepwatcher, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install sleepwatcher
To see what files were installed by sleepwatcher, run:
port contents sleepwatcher
To later upgrade sleepwatcher, run:
sudo port selfupdate && sudo port upgrade sleepwatcher
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.