March 04, 2005
Easy parenting with OSX
On the errant child's computer in the crontab of a logged in account:
* 23,0,1,2,3,4,5 * * * /usr/bin/osascript -e 'tell application "Finder" to sleep'
(It tells the computer to put itself to sleep every minute of every hour between 11pm and 5am.. of course if the computer is already asleep it doesn't do anything)
Posted March 04, 2005 09:08 PM in Geek Stuff
TrackBack URL for this entry: http://www.unix-girl.com/mt/mt-tb.cgi/1479
TrackBack URL for this entry: http://www.unix-girl.com/mt/mt-tb.cgi/1479
Comments
Letters From Exile:kasia in a nutshell: Easy parenting with OSX
Kasia has a neat tip that will put a mac to sleep and keep it that way all night long. She talks about it in the context of making sure that a kid isn't up all night on his computer. She says: * 23,0,1,2,3,4,5 * * * /usr/bin/osascript -e 'tell applica
(read more)
March 5, 2005 02:48 AM
Kasia has a neat tip that will put a mac to sleep and keep it that way all night long. She talks about it in the context of making sure that a kid isn't up all night on his computer. She says: * 23,0,1,2,3,4,5 * * * /usr/bin/osascript -e 'tell applica
(read more)
March 5, 2005 02:48 AM