![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sftp not working as cronjob | tungaw2004 | UNIX for Dummies Questions & Answers | 3 | 01-10-2008 08:27 PM |
| Cron not working | manna | UNIX for Dummies Questions & Answers | 1 | 01-10-2008 02:04 PM |
| SFTP not exiting when run from cron | msabhilash | SUN Solaris | 2 | 12-02-2007 07:48 PM |
| SFTP errorcode 1 when run on cron but runs manually | Heidi.Ebbs | SUN Solaris | 2 | 08-08-2007 01:16 PM |
| Cron not working? | christo16 | UNIX for Dummies Questions & Answers | 5 | 03-09-2007 02:55 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
SFTP not working in cron
Hi,
I have a simple script that is trying to put a file that resides on a local machine to a remote machine. It runs fine manually but does not complete when scheduling to run in cron. Here is what the script looks like. Any idea what I am doing wrong here? #!/bin/ksh cd /path sftp remoteuser@remotehost:/path <<EOF mput Test.txt bye |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|