title: Script does not run under cron but runs manually
body: <p>I have a script that a developer wrote for me which performs various functions mainly related to ffmpeg. When I run the script manually using </p>
  
  <pre><code>sh /home/site/rawvids/encode.sh &gt; /home/site/rawvids/log.txt
  </code></pre>
  
  <p>The script runs fine but when it runs through cron it fails with error code 127</p>
  
  <p>Any ideas?</p>
  
  <p><code>ls -l</code> on the script shows:</p>
  
  <blockquote>
    <p>-rwxrwxrwx 1 site nobody 3786 Jul 23 17:07 /home/site/rawvids/encode.sh*</p>
  </blockquote>