We stand with Ukraine to help keep people safe. Join us
EN
When you purchase through links on our site, we may earn an affiliate commission

SleepWatcher for Mac

Execute commands when sleeping or awakening.

Free
In English
Version 2.2.1
3.2
Based on 5 user rates

SleepWatcher overview

SleepWatcher is a command line tool (daemon) for macOS that 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. A StartupItem, sample start and sleep scripts and the source code for sleepwatcher are included in the download. A little bit knowledge of the Unix command line is required to benefit from this software.

What's new in version 2.2.1

Version 2.2.1:
  • SleepWatcher now is a 64-bit binary (and still contains 32-bit binaries for Intel and PowerPC)
  • With the -b -r option, the resumecommand is no longer executed repeatedly when it takes a longer time (in the order of the -b break duration) to run

SleepWatcher for Mac

Free
In English
Version 2.2.1
Write a detailed review about SleepWatcher

Write your thoughts in our old-fashioned comment

MacUpdate Comment Policy. We strongly recommend leaving comments, however comments with abusive words, bullying, personal attacks of any type will be moderated.
3.2

(13 Reviews of SleepWatcher)

  • Comments

  • User Ratings

edebrabander
edebrabander
May 21, 2020
2.2.1
0.0
May 21, 2020
0.0
Version: 2.2.1
Doesn't start, system.log snapshot: May 16 11:58:33 MacBook-Pro com.apple.xpc.launchd[1] (de.bernhard-baehr.sleepwatcher): This service is defined to be constantly running and is inherently inefficient. May 16 11:58:33 MacBook-Pro com.apple.xpc.launchd[1] (de.bernhard-baehr.sleepwatcher[66665]): Could not find and/or execute program specified by service: 86: Bad CPU type in executable: /usr/local/sbin/sleepwatcher May 16 11:58:33 MacBook-Pro com.apple.xpc.launchd[1] (de.bernhard-baehr.sleepwatcher[66665]): Service setup event to handle failure and will not launch until it fires. May 16 11:58:33 MacBook-Pro com.apple.xpc.launchd[1] (de.bernhard-baehr.sleepwatcher[66665]): Service exited with abnormal code: 78
Briand
Briand
Feb 19, 2012
2.2
4.5
Feb 19, 2012
4.5
Version: 2.2
This does exactly what I need and works well. Granted, it takes a bit of work to install and configure compared to GUI apps, but that shouldn't stop someone who needs such functionality to spend the time to work it out. However, if you'd rather use a GUI app, there's Scenario in the App Store. Many thanks to the developer for taking the time to create and share this useful utility.
Cowicide
Cowicide
Feb 1, 2012
2.2
0.0
Feb 1, 2012
0.0
Version: 2.2
I like SleepWatcher, but I really wish someone would take this concept into a user-friendly realm where you can simply install this, have basic options within a simple GUI for running apps, etc. after your computer wakes up with no need for using terminal. People would purchase a product like that.
Wanderer
Wanderer
Aug 29, 2011
2.2
1.0
Aug 29, 2011
1.0
Version: 2.2
This is way too geeky, people who can use this don't need it. Put a human interface on it however and you have a winner.
Dorkypants
Dorkypants
Jul 27, 2011
2.1.2
5.0
Jul 27, 2011
5.0
Version: 2.1.2
2.1.2 What's new: the version history in the README file indicates this is a Lion-compatibility releasse
kdwin
kdwin
Feb 12, 2018
0.5
Feb 12, 2018
0.5
Version: null
Briand
Briand
Feb 19, 2012
4.5
Feb 19, 2012
4.5
Version: null
Wanderer
Wanderer
Aug 29, 2011
1.0
Aug 29, 2011
1.0
Version: null
Oolong
Oolong
May 12, 2011
5.0
May 12, 2011
5.0
Version: null
Dorkypants
Dorkypants
Feb 7, 2011
5.0
Feb 7, 2011
5.0
Version: null