Keep your data private! Install Clario for mobile and desktop.
Try NowAd
SleepWatcher
SleepWatcher
2.2.1
3.2
0.0
SleepWatcher free download for Mac

SleepWatcher for Mac2.2.1

19 April 2019

Execute commands when sleeping or awakening.

What is SleepWatcher for Mac

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 SleepWatcher

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

Related articles

Try our new feature and write a detailed review about SleepWatcher. All reviews will be posted soon.
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.
0.0
(0 Reviews of )
There are no reviews yet
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
Jan 31 2012
2.2
0.0
Jan 31 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 28 2011
2.2
1.0
Aug 28 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
Dorkypants
Dorkypants
Feb 6 2011
2.1.1
5.0
Feb 6 2011
5.0
Version: 2.1.1
The ReadMe.rtf file included in the download tarball says: fixed a bug in argument parsing (when using only the -P or -U option, SleepWatcher 2.1 complained about „no useful options“); now the idle timer (for the -t -i option) is reset when the Mac wakes up, so the idle command is executed even when the wakeup took place without user interactivity (scheduled wakeup or Wake On LAN)
Dorkypants
Dorkypants
Apr 3 2010
2.1
5.0
Apr 3 2010
5.0
Version: 2.1
The README file in the distribution says, under Version History: added -b -r, -P and -U options; removed the installer packages and switched to launchd for starting SleepWatcher (SleepWatcher 2.1 runs with Mac OS X 10.5 or 10.6) So, it's mostly a Leopard and Snow Leopard compatibility release. The developer's website still recommends 2.0.5 for Tiger and Panther
PieterOpie
PieterOpie
Apr 3 2010
2.1
0.0
Apr 3 2010
0.0
Version: 2.1
I don't know if I like the idea of my computer playing with itself while it should be sleeping. It's not decent. The other peripherals might talk......... No. Not for my boy. Signed Disgusted.
M2atmac
M2atmac
Jul 28 2008
2.0.5
0.0
Jul 28 2008
0.0
Version: 2.0.5
This doesn't seem to be working under OS 10.5.4
John-Sawyer-CJS
John-Sawyer-CJS
Apr 5 2008
2.0.5
0.0
Apr 5 2008
0.0
Version: 2.0.5
This doesn't seem to be working under OS 10.5.2.
Guest
Guest
Jun 9 2005
2.0.1
0.0
Jun 9 2005
0.0
Version: 2.0.1
this program sounds awesome! I am a lab admin, this would be great could set machines to re-image, but only say if they have been left alone for a couple of hours, if the imaging is being done in the early morning. Plus all kinds of other neat stuff could be attached to the machine not being in use, IE, become part of a cluster, or start some maintenance. Please fix the links I am interested!!!!!!!!!!!!
Guest
Guest
May 6 2005
2.0
0.0
May 6 2005
0.0
Version: 2.0
This sounds perfect! My machine needs a certain amount of security, but not so much as to be obtrusive. I've wanted a way to set up my Mac so that the screen saver won't lock the machine and require a password. However, when it sleeps, I want it to require a password when it wakes. I hope I'll be able to set 'Require password after screensaver and wake from sleep' in System Preferences to 'off'. Then, use this app and a bit of AppleScript magic to lock the computer just as it goes to sleep. Can't wait to get home from work to try this out!
Guest
Guest
Mar 9 2005
1.0.1
0.0
Mar 9 2005
0.0
Version: 1.0.1
Sadly, the download and "more info" links are 404.
Free
3.2
0.0
App requirements: 
  • Intel 32
  • Mac OS X 10.5.0 or later
License: 
FreeAbsolutely Free

Downloaded & Installed 16,363 times

How would you rate SleepWatcher?
Similar apps
Lidpop
Plays a sound when your Mac sleeps or wakes up.
Is this app is similar to Lidpop? Vote to improve the quality of this list.
Vote results
0
Upvotes
1
Total score
0
Downvotes