|
|||||||||||
|
Re: sftp script running through crontab
From: TooManyMirrors <toomanymirrors(at)yahoo.com>
Date: Wed May 21 2003 - 14:31:08 EDT This is the script that I am using.
DIR="/DIR"
for i in `cat $list`
/usr/local/bin/sftp account@hostname <<EOF>/dev/null
cd $i/$DIR
lcd $i/$LDIR
mput $LOG
quit
EOF done The system is HP-UX.
Now the problem I am having is that when running this directly it
executes
$./script.sh
If anybody can shed some light on this issue it would be of great help. Received on Wed May 21 19:21:23 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:59 EDT |
||||||||||
|
|||||||||||