Mac 10.4: Launchd Problem

Joined
Feb 18, 2008
Messages
3
Reaction score
0
Points
1
Hi,

I am trying to run more than one programs through single .plist using launchd.
I don't know how to put program arguments. I have tried for that but not getting results. I am new user of Mac 10.4

My .plist format is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.domain.Agent</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/prgram1</string>
<string>/usr/local/prgram2</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/Library/Logs/Prg.log</string>
<key>StandardOutPath</key>
<string>/Library/Logs/Prg.log</string>
</dict>
</plist>


Plz help on this..

Thanks,
Pankaj.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top