Hi,launchd gives me a hard time with a daemon I need to keep running. It prints "Throttling respawn" to my console forever. Because of that I wrote a script that does nothing but print "test" and sleep before exiting to somehow understand why launchd does that. The script looks like this:
#!/bin/bash echo "test"; sleep 15; exit 0; It sleeps before exiting because of the hint printed here:<http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/LaunchOnDemandDaemons.html#//apple_ref/doc/uid/TP40001762-BCIEDDBJ >
Then I load it using launchctl like this:launchctl submit -l 'testlaunchtestprc' -p /Users/Alexander/ testprclauncher -o /Users/Alexander/Desktop/out.txt -e /Users/ Alexander/Desktop/err.txt
Then it starts printing the respawn messages. Aside of those messages I can't make out a difference in my computer's behavior in any way other than that I have long logs.
Has anyone seen the same messages and made them stop while still using launchd and not cron, or should I just stop using it despite of it being the recommended path from cron and so forth?
Thanks Alexander
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]