Shawn,
does your shellscript need special environment variables which are set in your
.profile? eg. non standard settings in the PATH-variable?
Cron-jobs allways run without any such settings. If your script needs a special
environment, you have to source your .profile in your script.
Stefan
-----Original Message-----
From: Song, Shawn [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 10, 2000 12:47 AM
To: '[EMAIL PROTECTED]'
Subject: scp failed in cron job
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?
Thanks a lot !
Shawn Song