Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: cron/Launchd Editor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cron/Launchd Editor



I just noticed that Lingon removes the StartCalendarInterval so here is the correct one.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.rpoland.playMantelSound</string>
<key>Program</key>
<string>/Library/Scripts/Universal\ Scripts/playMantelSound</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Scripts/Universal\ Scripts/playMantelSound</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Day</key>
<integer>0</integer>
<key>Hour</key>
<integer>0</integer>
<key>Month</key>
<integer>0</integer>
</dict>
</dict>
</plist>



On Sep 17, 2009, at 8:08 AM, Robert Poland wrote:

More;

When I run launchctl list I see the same OLD plists as running and none of the new ones. This would indicate to me that there is an unsearchable file somewhere that contains the old data.

I have run the launchctl unload and launchctl load commands many times and they seem to indicate that everything occurred as expected.


On Sep 17, 2009, at 1:11 AM, erik keller wrote:

Maybe a dumb question, but did you make sure that your new plists are loaded? Hint: launchctl.
If you don't load them, then they will get activated after a reboot or logout / login in case of user plists.
Just a thought.

Erik

On Thu, Sep 17, 2009 at 2:10 AM, Robert Poland <email@hidden> wrote:
Hi,

I'm sure this is the wrong place to be but maybe someone can help or direct me to where I should be...

I used to use cronnix to set cron events that I use every day. Cronnix and Lingon have gone away with the advent of launchd and Snow Leopard.

Launchd Editor almost works but not quite. It will edit plists but they never get activated.

Help would be appreciated.

TIA,


Bob Poland - Fort Collins, CO

Bob Poland - Fort Collins, CO




Bob Poland - Fort Collins, CO



 _______________________________________________
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

References: 
 >cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: erik keller <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.