Hello,
Here is my issue. I wanna run my script QAScript.sh on start up. So I follow every steps I found out ( abour launchd)
This is my plist file :
However, I want that my script executed only one time, but it seem that it was executed continuously. So, Is there any way to make it fired just one time on start up ? Thanks a lot
Here is my issue. I wanna run my script QAScript.sh on start up. So I follow every steps I found out ( abour launchd)
This is my plist file :
PHP:
<?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>QAScript</string> <!-- org.mongodb.mongodb perhaps? -->
<key>OnDemand</key>
<false/>
<key>UserName</key>
<string>nguyenquanganh</string>
<key>GroupName</key>
<string>staff</string>
<key>ProgramArguments</key>
<array>
<string>/Users/nguyenquanganh/QAScript.sh</string>
<string>-</string>
</array>
</dict>
</plist>
However, I want that my script executed only one time, but it seem that it was executed continuously. So, Is there any way to make it fired just one time on start up ? Thanks a lot