Hello there.
I am testing out launchd through the use of Lingon because I have heard that it is the best way to schedule things on OS X. Right now I am testing it with a one line command "say". It executes at 12 midnight, daily.
My dilema is, sometimes, when my computer is sleeping at midnight and I wake it, say at 7 AM, my "say" command will activate. Worse yet, if I have multiple commands running daily and the computer is sleeping, they will all execute at once when the computer is woken. How do I prevent the commands from running if their time has past?
I am testing out launchd through the use of Lingon because I have heard that it is the best way to schedule things on OS X. Right now I am testing it with a one line command "say". It executes at 12 midnight, daily.
My dilema is, sometimes, when my computer is sleeping at midnight and I wake it, say at 7 AM, my "say" command will activate. Worse yet, if I have multiple commands running daily and the computer is sleeping, they will all execute at once when the computer is woken. How do I prevent the commands from running if their time has past?