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 
- -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to