What this scripts purpose is to sftp backup files and log files from one server to another or to a disk array that is not
part of the originating servers file system. It is to run from cron at periodic times yet to be determined.
Any help is greatly appreciated!
Dan
On 7/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Send kc mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.pm.org/mailman/listinfo/kc
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of kc digest..."
Today's Topics:
1. Interactive Login in Perl (Dan Hull)
2. Re: Interactive Login in Perl (Teal)
3. Re: Interactive Login in Perl (Eric)
4. Lightning talks at OSCON 2006: Announcement for distribution
(Garrett Goebel)
----------------------------------------------------------------------
Message: 1
Date: Sat, 15 Jul 2006 22:56:06 -0500
From: "Dan Hull" < [EMAIL PROTECTED]>
Subject: [Kc] Interactive Login in Perl
To: [email protected]
Message-ID:
< [EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
I am trying to write some perl scripts which will be run from Cron which
require interactive ssh or regular unix login. Can someone point me in the
right direction to accomplish this.
Thanks,
--
Dan Hull
eFax - 816.222.0803
[EMAIL PROTECTED]
Quality of life is a choice. It is
available to everyone in any circumstance, whether good or bad.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/kc/attachments/20060715/43193c09/attachment.htm
------------------------------
Message: 2
Date: Sun, 16 Jul 2006 00:30:58 -0500
From: Teal <[EMAIL PROTECTED]>
Subject: Re: [Kc] Interactive Login in Perl
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Dan Hull wrote:
> I am trying to write some perl scripts which will be run from Cron which
> require interactive ssh or regular unix login. Can someone point me in
> the right direction to accomplish this.
>
> Thanks,
>
> --
> Dan Hull
> eFax - 816.222.0803
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
> Quality of life is a choice. It is
> available to everyone in any circumstance, whether good or bad.
>
Are you saying you want the script to require a shell to get the initial
settings before being handed to cron, or that it runs from cron and at
that time opens a shell, and some user is then prompted to do something?
Teal
--
Five minutes of Silence,
Meditate. Breathe. Be Alive.
------------------------------
Message: 3
Date: Sun, 16 Jul 2006 08:14:29 -0500
From: Eric <[EMAIL PROTECTED]>
Subject: Re: [Kc] Interactive Login in Perl
To: Dan Hull < [EMAIL PROTECTED]>
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
You'll want to look at Expect - either the TCL extension or the Expect
module for Perl.
http://search.cpan.org/~rgiersig/Expect-1.18/Expect.pod
http://expect.nist.gov/
Eric
Dan Hull wrote:
> I am trying to write some perl scripts which will be run from Cron
> which require interactive ssh or regular unix login. Can someone
> point me in the right direction to accomplish this.
>
> Thanks,
>
> --
> Dan Hull
> eFax - 816.222.0803
> [EMAIL PROTECTED] <mailto: [EMAIL PROTECTED]>
>
> Quality of life is a choice. It is
> available to everyone in any circumstance, whether good or bad.
> ------------------------------------------------------------------------
>
> _______________________________________________
> kc mailing list
> [email protected]
> http://mail.pm.org/mailman/listinfo/kc
------------------------------
Message: 4
Date: Sun, 16 Jul 2006 12:26:28 -0500
From: Garrett Goebel <[EMAIL PROTECTED]>
Subject: [Kc] Lightning talks at OSCON 2006: Announcement for
distribution
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Begin forwarded message:
> From: Mark Jason Dominus <[EMAIL PROTECTED]>
>
> ----------------------------------------------------------------
> Subject: OSCON 2006 Lightning talks deadline extended
>
> There is still time to propose a lightning talk for OSCON 2006. The
> deadline has been extended through Monday, 25 July.
>
> Lightning Talks at the 2006 O'Reilly Open Source Convention
>
> Lightning talks are brief (5-minute) talks that focus on a single
> example, idea, project, or technique. Lightning talks do not attempt
> to cover all aspects of their subject matter, but rather to present
> one facet of the idea clearly and succinctly.
>
> To submit a proposal for a lightning talk, please send your proposed
> title and an abstract of up to four sentences to:
>
> [EMAIL PROTECTED]
>
> For more complete information, visit:
>
> http://perl.plover.com/lt/osc2006/
>
> Thanks.
------------------------------
_______________________________________________
kc mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/kc
End of kc Digest, Vol 33, Issue 11
**********************************
--
Dan Hull
eFax - 816.222.0803
[EMAIL PROTECTED]
Quality of life is a choice. It is
available to everyone in any circumstance, whether good or bad.
_______________________________________________ kc mailing list [email protected] http://mail.pm.org/mailman/listinfo/kc
