SleepWatcher
SleepWatcher
2.2.1

3.9

SleepWatcher free download for Mac

SleepWatcher2.2.1

19 April 2019

Execute commands when sleeping or awakening.

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 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

Join over 500,000 subscribers.

Subscribe for our newsletter with best Mac offers from MacUpdate.

How would you rate SleepWatcher app?

13 Reviews of SleepWatcher

PieterOpie
03 April 2010
Version: 2.1

Most helpful

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.
(1)
edebrabander
21 May 2020
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
(0)
4.5
Briand
19 February 2012
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.
(1)
Cowicide
31 January 2012
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.
(1)
1
Wanderer
28 August 2011
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.
(1)
Show comment (1)
Dorkypants
27 July 2011
Version: 2.1.2
2.1.2 What's new: the version history in the README file indicates this is a Lion-compatibility releasse
(0)
5
Dorkypants
06 February 2011
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)
(0)
Dorkypants
03 April 2010
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
(0)
PieterOpie
03 April 2010
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.
(1)
M2atmac
28 July 2008
Version: 2.0.5
This doesn't seem to be working under OS 10.5.4
(0)
John-Sawyer-CJS
05 April 2008
Version: 2.0.5
This doesn't seem to be working under OS 10.5.2.
(0)
Anonymous
09 June 2005
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!!!!!!!!!!!!
(0)
Anonymous
06 May 2005
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!
(0)
Anonymous
09 March 2005
Version: 1.0.1
Sadly, the download and "more info" links are 404.
(0)
Show comment (1)