Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Send files automatically to a remote system Post 302840717 by picolin on Tuesday 6th of August 2013 10:56:45 AM
Old 08-06-2013
Send files automatically to a remote system

Greetings,
basically what I want to do is take the standard error from a cron file and store it on a file in a remote host (from Solaris to Linux). I want to create a cron file to do this everyday or put it on a script that will send it everyday to the other system (that doesnt matter). Any ideas on how to do it? I thought the easiest way was through ssh but it'll ask for password. Anyway to get around this?

Any help or advice will be much appreciated.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Send mail with attachments automatically in a interval period

hai everyone I want to send mail with attachments automatically for every 15 minutes getting different E-mail IDs from a file if any script is available , Please send to me .. This will be very useful for my project.... Thanks for your time..... Felix ... (3 Replies)
Discussion started by: Leo Felix
3 Replies

2. UNIX for Dummies Questions & Answers

send message to a remote system

I am analyzing snoop output and want to send "Hello world" to a remote system. I want to see if the message received is encrypted or not. can I use ping to send a text message? like ping "helloworld" <IP Addr> Please help. Thank you (5 Replies)
Discussion started by: rakeshou
5 Replies

3. UNIX for Dummies Questions & Answers

How to send files to remote tape drive

We have 2 UNIX machines, 1.HP-UX 11i where oracle database running on it. 2.AIX 5 with Ultrium LTO3 tape drive connected. My query is, i want to send oracle database archive files from HP machine to the tape drive which connected on AIX machine, everyday. These files should be appended. I... (3 Replies)
Discussion started by: yashdbad
3 Replies

4. Shell Programming and Scripting

how to send mail automatically in unix

Dear friends, I am storing daily some data in a tape disk. and numbering it from 1 2 3 like this. I want to get alert mail automatically when ever data is greater than or equal to 600. to my yahoo mail. i want to put that mail script in crontab so it will check the data daily at... (7 Replies)
Discussion started by: rajan_ka1
7 Replies

5. UNIX for Dummies Questions & Answers

Copying files from a remote server to local system with cygwin

Hi. I'm sorry if I get on people's nerves asking this, but I don't really understand how to do this and unfortunately don't have the time to work through it step by step in books, etc. At University, we have a unix server that hosts our files. we each have a login and password to access it. I... (3 Replies)
Discussion started by: patwa
3 Replies

6. Shell Programming and Scripting

How to automatically send a mail alert if the script errors out

I have a script like this, which calls other scripts from that script: #!/usr/ksh moveFiles.sh extract.sh readfile=/home/sample.txt cat $readfile | while read line do file= `echo $line|awk '{print $4}'` if ; then mv $file /home/temp_stage fi (4 Replies)
Discussion started by: ss3944
4 Replies

7. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

how to login with ssh to remote system with out applying the remote root/user password with rlogin we can ujse .rhosts file but with ssh howits possible plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

8. Shell Programming and Scripting

AIX system.... deleting files in remote directory after retrieving files

Hi Friends, I am new to this , I am working on AIX system and my scenario is to retrive the files from remote system and remove the files from the remote system after retreving files. I can able to retrieve the files but Can't remove files in remote system. Please check my code and help me out... (3 Replies)
Discussion started by: vinayparakala
3 Replies

9. Shell Programming and Scripting

Automatically send stdout and stderror to a file as well as to the screen, but without using tee

Hi, I've been using the following commands in my automated scripts, to ensure that all text output is sent to a log file instead of to the screen: exec 1>>$SCRIPT_LOG_FILE exec 2>>$SCRIPT_LOG_FILE However, I've now discovered that the system used for automating the script executions... (4 Replies)
Discussion started by: confusedAdmin
4 Replies

10. Shell Programming and Scripting

Run a script before and after reboot automatically and send output to two locations.

Hello Team . I am working a health check script ( bash) to run on linux server ( RedHat) and requirements are 1. The o/p of script need to be send to two diff files . I am testing with tee command . But I am not successful yet , any recommendations if that is the right approach ? 2. The same... (2 Replies)
Discussion started by: Varja
2 Replies
uucico(1M)																uucico(1M)

NAME
uucico - transfer files for the uucp system SYNOPSIS
system debug_level] spool_directory] debug_level] spool_directory] Remarks The commands, including are targeted for removal from HP-UX; see the section below. DESCRIPTION
scans the directories for work files. If such files exist, a connection to a remote system is attempted using the line protocol for the remote system specified in file then executes all requests for work and logs the results. Options recognizes the following options: Start in the MASTER mode. The default is SLAVE mode. Do work only for the system specified by system. If there is no work for system on the local spool directory, initiate a connection to system to determine if system has work for the local system. This option must be used if is specified. Search directory spool_directory instead of the default spool directories (usually Use debugging option. debug_level is an integer in the range 1 through 9. More debugging information is given for larger values of debug_level. is usually started by a local program such as or (see cron(1M), uucp(1), and uuxqt(1M)). Only when debugging should a user initiate directly. When started by a local program, is considered the MASTER and attempts a connection to a remote system. If is started by a remote system, it is considered to be in SLAVE mode. For the connection to a remote system to be successful, there must be an entry in the file on the remote system of the form: WARNINGS
Use of commands, including is discouraged because they are targeted for removal from HP-UX. Use ftp(1) or rcp(1) instead. FILES
SEE ALSO
uucp(1), uustat(1), uux(1), cron(1M), uusched(1M). O'Reilly & Associates, Inc. USA. O'Reilly & Associates, Inc. USA. TO BE OBSOLETED
uucico(1M)
All times are GMT -4. The time now is 01:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy