On Thu, Mar 09, 2000 at 06:47:04PM -0500, Song, Shawn wrote:
> I have a shell script, which contais scp, works fine from command line.
> However, if I put it in cron job.  I got connection lost.  It seems that scp
> does not work in cron job.  How to solve this problem?

The environment variables are usually different when running
from cron.  Trying setting PATH and any other env vars that
ssh/scp might care about in the script.
- Dan

Reply via email to