title: OS X + Crontab: How do you run SCP via cron?
body: <p>This works fine when I run it by hand:</p>
  
  <pre><code>#!/bin/bash
  eval `ssh-agent`
  ssh-add
  /usr/bin/scp me@server:~/file ./
  exit 0
  </code></pre>
  
  <p>However, when the cron runs the file is never touched. I know the ssh keys are right - replace that <code>scp</code> with an <code>ssh</code> and it runs fine.</p>