Re: MorningStartUp script
Re: MorningStartUp script
- Subject: Re: MorningStartUp script
- From: William Ray Wing <email@hidden>
- Date: Mon, 06 Jan 2014 09:46:53 -0500
On Jan 5, 2014, at 9:13 AM, Robert Poland <email@hidden> wrote:
> Hi,
>
> I use a script, MorningStartUp, it is triggered by a LaunchAgent at 5:30 AM.
>
> The computer is normally asleep that early. With previous OSes It worked as intended. Then (Mountian Lion) It would work when the computer was woke up. Now with Mavericks it no longer does anything,
>
> If I manually run it , it does it’s thing, It’s job is to start apps like Mail, Safari, RSS, etc. so they are ready when I sit down.
>
> System Preferences/Energy Saver are set to "Wake for network access" and "Put hard disks to sleep when possible”.
>
> Is there a workaround? Possible unchecking the latter?
>
> Seems wasteful for the HD to run unattended all night.
>
> TIA,
>
>
> Robert Poland
Robert,
What do you see if you look in your System Log at the time the script is supposed to launch? My bet is that your script is being stopped by Apple's new security policies. Launchctl is now VERY strict about what it will launch. I strongly suspect you are going to have to "sign" your script before it will work again. Apple has a lot of documentation on signing and self-signing. I'd Google Mac spctl (system policy control), which will give you a whole bunch of hits, including:
https://developer.apple.com/library/mac/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html#//apple_ref/doc/uid/TP40005929-CH4-DontLinkElementID_5
Good luck,
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden