![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to sftp with cron (once more time...) | Kronos | UNIX for Dummies Questions & Answers | 7 | 05-06-2009 11:21 AM |
| SFTP Failed---Request for subsystem 'sftp' failed on channel 0 | mahiban | AIX | 0 | 07-25-2008 03:51 AM |
| SFTP not exiting when run from cron | msabhilash | SUN Solaris | 2 | 12-02-2007 07:48 PM |
| SFTP not working in cron | ewilson0265 | Shell Programming and Scripting | 4 | 12-02-2007 11:29 AM |
| SFTP errorcode 1 when run on cron but runs manually | Heidi.Ebbs | SUN Solaris | 2 | 08-08-2007 01:16 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi, I am running simple script to automate sftp transfer to remote box. I have setup public/private keys to have sftp connect automatically and have test script that list remote directory: Code:
#!/bin/ksh echo "OK, starting now..." sftp userid@host <<EOI cd dir ls -lt bye EOI When I run script manually everything is ok and script executeds properly with output: Code:
OK, starting now... sftp> cd dir sftp> ls -lt <dir list> sftp> bye When run through cron I get only the following: Code:
OK, starting now... Can anyone tell me what I am doing wrong or where the problem sits?
|
|
|||||
|
Use the seach function of the forum please and have a look here maybe:
cron and crontab |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|