09-30-2009
Look at the tools like putty, puttygen, psftp on windows and ssh, scp, sftp on unix.
you can transfer the file from 'server a' to 'server b' and then 'server a' can remotely kick a script on 'server b' when the transfer completes. it will work in either direction. you could make one server both push and pull as well, rather than setting up redundant processes on both machines.
Obv. don't know all your requirements, but if possible, it makes more sense to encrypt before xfer, lest anyone intercept. The use of scp or sftp reduces this risk as conversation will be encrypted. Nonetheless...
7 More Discussions You Might Find Interesting
1. IP Networking
Hi,
Off late I had been looking at the differences b/w select() & poll() system calls. The requirement is to reduce the overhead, processor power in waiting for the data. In the kind of connections under consideration there would be very frequent data arriving on the sockets, so poll() fares... (12 Replies)
Discussion started by: smanu
12 Replies
2. UNIX for Dummies Questions & Answers
I have to write a script where I poll a txt file for data (30 min interval)
Dependent on the data read, the script should return a message.
It should look something like the "code" below:
--
do while <data recived>
sleep 30m
read data from file
Done
If <data> x return "A"
If... (1 Reply)
Discussion started by: ioniCoder
1 Replies
3. Programming
Hi all,
Im trying to do a simple program which ask the user for a unix command with the arguments. The program fork and the two process communicate with pipes. The child process call execvp with the command and the father process read the result of the execvp via the pipe.
This program works... (11 Replies)
Discussion started by: blackmamba21
11 Replies
4. Shell Programming and Scripting
Hi, guys:
I want to write my own shell using C. I am confused about the usage of I/O multiplex. Does anyone know some examples or explain it to me ?
Thanks so much (1 Reply)
Discussion started by: tomlee
1 Replies
5. Shell Programming and Scripting
Hi all, I'm looking for a script to poll a specified directory and copy new files to another location.
The script should only copy new files so, I based on mtime I guess?
Can anyone point me in the right direction of a script which could do this?
My scripting skills aren't too bad, but... (1 Reply)
Discussion started by: JayC89
1 Replies
6. Shell Programming and Scripting
Hello,
I need to write a script for my prod servers, here is the requirement.
1. Shell script should poll the directory everyday at 3pm for 2 files a.csv and a.dat. It should poll the directory for the files for only 15 mins after that it should error out saying that no files received.... (6 Replies)
Discussion started by: Siddheshk
6 Replies
7. AIX
1) Do you use LDAP on AIX? (as a client)
2) If yes, what LDAP server technology do you use:
a) IDS (or ITDS) - IBM Tivoli Directory Server
b) AD
c) openLDAP
d) other - please list.
I ask, because I am looking at openLDAP as well as IDS and am wondering if there is a clear preference I... (4 Replies)
Discussion started by: MichaelFelt
4 Replies
LEARN ABOUT CENTOS
date::manip::tzdata
Date::Manip::TZdata(3) User Contributed Perl Documentation Date::Manip::TZdata(3)
NAME
Date::Manip::TZdata -- Internal module for working with the tzdata files
SYNOPSIS
use Date::Manip::TZdata;
$tzd = new Date::Manip::TZdata($dir);
DESCRIPTION
This module is not intended for public use. It is used internally by the scripts used to analyze the time zone database and generate the
modules for each time zone. The module is included in the distribution solely for the sake of completeness. Currently, no support is
offered for this module, and it can (and may) change without notice.
This module consists of routines for working with the tzdata files obtained from ftp://ftp.iana.org/tz/ . These files are updated several
times a year and are the basis for time zone descriptions for most computer systems.
ROUTINES
new
use Date::Manip::TZdata;
$tzd = new Date::Manip::TZdata($dir);
This finds and reads in all the tzdata. If $dir is passed in, it is the directory where a tzdata directory is located. It defaults to
the current directory.
KNOWN LIMITATIONS
Some assumptions and limitations are assumed in the logic of this module.
When a time change occurs, the time may change backwards or forwards. Time changes rules are listed on a per-year basis. It is assumed
that time changes will not occur so close to the end or start of the year as to cross the year boundary (in other words, the year will not
change as a result of the time change). This is not accounted for, and it is hoped that this situation will never occur.
Also, because this module is strictly limited to 4 digit positive years (regardless of whether it is wallclock or universal time), and
because various parts of the module switch back and forth, valid times for this module are from Jan 2, 0001 to Dec 30, 9999. This ensures
that conversions from wallclock to universal or vice versa will never make dates occur in the year 0000 or 10000.
KNOWN BUGS
None known.
BUGS AND QUESTIONS
Please refer to the Date::Manip man page for information on submitting bug reports or questions to the author.
AUTHOR
Sullivan Beck (sbeck@cpan.org)
perl v5.16.3 2014-06-09 Date::Manip::TZdata(3)