[svlug] bash scripts and cron

Robert Hajime Lanning lanning at lanning.cc
Fri Jan 10 12:56:27 PST 2003

On Fri, 10 Jan 2003, John McDonnell wrote:
> It's a simple tar and scp script and it looks fine to me. This is on 5
> different Cobalt Raqs. What happens is that tar runs fine, but the scp
> never happens.
> Anyone able to point out the obvious? I've made sure the keypairs are
> all happy.

Make sure scp is in the path.  Your /etc/profile or .profile probably
adds the path that scp resides in.  crond does not run the profiles.
You may need to either add the path to PATH or run scp fully qualified.


More information about the svlug mailing list