[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Newbie: cron.hourly problem



Incoming from Goran Christiansson:
> More Information:
> The shell script files have executable permission, and the good one actually
> gets run, but it does not do what I want.
> 
> I put in a "touch test.hourly" just to see that the script is run, and the
> file is created.
> 
> #!/bin/bash
> ncftpput -u goran -p MySecretPassword -P 8021 -R -DD \
> 127.0.0.1 /HomeWeb/photos2004 photos/*
> touch test.hourly

cron works with a limited environment and probably doesn't know where
ncftpput is.  Use /path/to/ncpftpput ... instead.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Reply to: