|Alexander Kohr on 9 Nov 2015 15:34:02 -0800|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|Re: [PLUG] cron/launchctl problems in MAC OS|
Your computer sleeping for 15 minutes sounds like it is definitely the problem.
If you job could not run because the computer was asleep it will run when the computer wakes up. If the machine is powered off it won't run until the next designated time frame.
info at https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/ScheduledJobs.html
If it really must run at the time you want it to run instead of when the computer is being used, Change your sleep settings using either the Energy Saver control panel or via pmset command line utility. If it is a laptop you should probably only ever set it to not go to sleep when you are on Charger or UPS. And/or you might invoke some scheduled start up or wake commands or sleep commands to occure slightly before and or well after your scheduled runs.
On Nov 5, 2015, at 7:39 PM, Gregory Deal wrote:
CONFIDENTIALITY NOTICE: This email communication may contain private, confidential, or legally privileged information intended for the sole use of the designated and/or duly authorized recipient(s). If you are not the intended recipient or have received this email in error, please notify the sender immediately by email and permanently delete all copies of this email including all attachments without reading them. If you are the intended recipient, secure the contents in a manner that conforms to all applicable state and/or federal requirements related to privacy and confidentiality of such information.