2
votes
2answers
524 views

How to run commands when mac is idle and when it resumes

I want to run script when my mac is idle (for example after 5 minutes or screen saver start time is also ok) and when I resume it from idle state. I know that I can write daemon using ...