title: Satis update via cronjob
body: <p>I'm try to update my private repository via a cron job but nothing seems to be happening. I'm using Satis to create the repository for my private packages.</p>
  
  <p>I can do this manually by logging into my account via SSH and running:</p>
  
  <pre><code>php bin/satis build satis.json ./ -n
  </code></pre>
  
  <p>which updates everything fine apart from I have to enter my passphrase a million times. I can get round this by using <code>SSH Agent</code> and think this may be my problem...</p>
  
  <pre><code>php /home/accountname/public_html/bin/satis build /home/accountname/public_html/satis.json /home/accountname/public_html/ -n
  </code></pre>
  
  <p>Is there anything I'm missing?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>It is the SSH auth as I've received this error via email (shortened version)</p>
  
  <blockquote>
    <p>Reading composer.json of vendor/package
    (master)<br>
    Failed to update
    git@bitbucket.org:vendor/package.git, package information from this
    repository may be outdated (Permission denied (publickey). fatal: The
    remote end hung up unexpectedly error: Could not fetch origin )</p>
  </blockquote>
  
  <p>In the docs it says about using <code>-n</code> to use the SSH Key but I am using it.</p>
  
  <p>Any ideas?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Thought I would add my satis file structure:</p>
  
  <pre><code>{
      "name": "Name Of My Repo",
      "homepage": "http://repodomain.co.uk",
      "repositories": [
          { "type": "vcs", "url": "git@bitbucket.org:vendor/package.git" }
      ],
      "require-all": true
  } 
  </code></pre>
  
  <p>really stuck on this one, the documentation is crap!</p>