• RunAtLoad

This is one of several optional keys specifying when the job should be run, in this case right after it has been loaded as in the following plist snippet:

<?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.example.app</string>
      <key>Program</key>
      <string>/Users/Me/Scripts/cleanup.sh</string>
      <key>RunAtLoad</key>
      <true/>
   </dict>
</plist>

-- EdwardChrzanowski - 2014-10-27

Topic revision: r2 - 2014-11-06 - BillInce
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback