grover66 / kidtimer

Script to manage computer usage by time and schedule.
18 stars 23 forks source link

add entry in /usr/lib/pm-utils/sleep.d to run houry on resume/thaw #17

Open jonbodner opened 10 years ago

jonbodner commented 10 years ago

Hello,

I just added a file 99zzkidtimer to /usr/lib/pm-utils/sleep.d so that kidtimer will run when my computer is woken from sleep:

#!/bin/sh

# This script makes kidtimer update account status when the machine is woken up.
# For a laptop, these are the closest parallels to turning on a desktop.

case $1 in
    resume|thaw)
        /usr/local/bin/kidtimer hourly
        ;;
esac

Do you think this could be added to the distribution?

grover66 commented 10 years ago

Sure,

About to go on vacation for a week, but will address it soon,

Mike :)

StoicTheVast commented 10 years ago

Yes, I found this important too...