title: How do I compile my elixir program so it can run as a scheduled task in OSX?
body: <p>I'm current trying to set up my program as a scheduled task in OSX. I tried setting up a plist file for launchd after compiling with the mix using escript.build.</p>
  
  <p>However, OSX simply ignores running my program even though launchd says it's "Loaded".</p>
  
  <p>If I try to execute the program in a terminal it runs fine. Here is what my plist file looks like</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
      &lt;key&gt;EnableGlobbing&lt;/key&gt;
      &lt;false/&gt;
      &lt;key&gt;Label&lt;/key&gt;
      &lt;string&gt;com.plisterine.test&lt;/string&gt;
      &lt;key&gt;LowPriorityIO&lt;/key&gt;
      &lt;false/&gt;
      &lt;key&gt;Nice&lt;/key&gt;
      &lt;integer&gt;0&lt;/integer&gt;
      &lt;key&gt;ProgramArguments&lt;/key&gt;
      &lt;array&gt;
          &lt;string&gt;/Users/Lee1/Documents/flower_power_data_dump/flower_power_data_dump&lt;/string&gt;
      &lt;/array&gt;
      &lt;key&gt;StartCalendarInterval&lt;/key&gt;
      &lt;dict&gt;
          &lt;key&gt;Hour&lt;/key&gt;
          &lt;integer&gt;14&lt;/integer&gt;
          &lt;key&gt;Minute&lt;/key&gt;
          &lt;integer&gt;20&lt;/integer&gt;
      &lt;/dict&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>