[ale] ssh+no controlling terminal=no sshcron?

Robert L. Harris Robert.L.Harris at rnd-consulting.com
Thu Feb 22 10:26:13 EST 2001




  I'm calling /usr/sbin/scp and specifying full pathnames.  It should work
with no other environment variables that I know of.

Robert

 
Thus spake James Kinney (jkinney at localnetsolutions.com):

> It sound like there are environment problems like PATH and USER not set to
> something usable. cron has no usable environment so you will need to
> explicitly state all the assorted variables. Especially PATH.
> 
> James P. Kinney III   \Changing the mobile computing world/
> President and COO      \          one Linux user         /
> Local Net Solutions,LLC \           at a time.          /
> 770-493-8244             \.___________________________./
> 
> On Thu, 22 Feb 2001, Robert L. Harris wrote:
> 
> > 
> > 
> >   I'm trying to cron a job to scp a file from one box to another.  When I
> > run my scp command from console it works just fine.  When I run it from
> > cron it errors saying no controlling terminal.  This was working fine on
> > another box thta just got decomissioned.
> > 
> >   Thoughts?
> > 
> > 
> > :wq!
> > ---------------------------------------------------------------------------
> > Robert L. Harris                |  Micros~1 :  
> > Senior System Engineer          |    For when quality, reliability 
> >   at RnD Consulting             |      and security just aren't
> >                                 \_       that important!
> > DISCLAIMER:
> >       These are MY OPINIONS ALONE.  I speak for no-one else.
> > FYI:
> >  perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> > 
> > --
> > To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
> > 



:wq!
---------------------------------------------------------------------------
Robert L. Harris                |  Micros~1 :  
Senior System Engineer          |    For when quality, reliability 
  at RnD Consulting             |      and security just aren't
                                \_       that important!
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list