Transfer ftp jobs from hp UNIX to Linux 6.x using cronjobs


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Transfer ftp jobs from hp UNIX to Linux 6.x using cronjobs
# 1  
Old 06-26-2013
Transfer ftp jobs from hp UNIX to Linux 6.x using cronjobs

Hello,

I am new to the Unix forum.I need inputs regarding the transferring the FTP jobs from Hp unix to Linux 6.x.

Here are the steps that i followed in creating the job in Linux:

1. On the HP unix box logged in as root and gave the command crontab -l. The output i have a copied it to the Linux box and pasted it using crontab -e (commented out all the jobs for time being).

2. i have moved all the directories and files from where the script is being run and also the output log files to which the data is loaded after the job has been run.

for eg: 01 10 * * 1-5 nice /home/test/test.sh > /home/test1/logs/ftp_test.log 2>&1

3. I have checked all the permissons of the files to be executed and they look same as i have copied all the directories/files from HP unix using tar -cvf.

4. On linux box i see that cron.deny is empty(assuming its ok if i run as root).

Can you please advice, if i have to include any other steps that are required to be performed for the success of this ftp job using cron.


Thanks in advance...

Regards,
Areddy
# 2  
Old 06-26-2013
Linux is a kernel, not an operating system. Which linux is "linux 6.x"?
# 3  
Old 06-27-2013
Quote:
Originally Posted by Corona688
Linux is a kernel, not an operating system. Which linux is "linux 6.x"?
Sorry, my bad

Its RHEL 6.x

---------- Post updated 06-27-13 at 08:40 AM ---------- Previous update was 06-26-13 at 04:17 PM ----------

Hello,

I am new to the Unix forum.I need inputs regarding the transferring the FTP jobs from Hp unix to RHEL 6.x.

Here are the steps that i followed in creating the job in Linux:

1. On the HP unix box logged in as root and gave the command crontab -l. The output i have a copied it to the RHEL box and pasted it using crontab -e (commented out all the jobs for time being).

2. i have moved all the directories and files from where the script is being run and also the output log files to which the data is loaded after the job has been run.

for eg: 01 10 * * 1-5 nice /home/test/test.sh > /home/test1/logs/ftp_test.log 2>&1

3. I have checked all the permissons of the files to be executed and they look same as i have copied all the directories/files from HP unix using tar -cvf.

4. On linux box i see that cron.deny is empty(assuming its ok if i run as root).

Can you please advice, if i have to include any other steps that are required to be performed for the success of this ftp job using cron.


Thanks in advance...
# 4  
Old 06-27-2013
Have you tried running this script manually to see where it stops working, or what way it doesn't work? Could you post the contents of the script?

Last edited by Corona688; 06-27-2013 at 01:03 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to transfer file from Local PC to UNIX Directory without FTP?

Dear All, i am trying to get the file from windows location to unix location without using FTP and neither thru entering the user id and password. I have one unix form which is running on web application and user is entering the location and file name there now i know the file name and path. So i... (8 Replies)
Discussion started by: ripudaman.singh
8 Replies

2. Shell Programming and Scripting

Transfer files from linux server to windows using secure ftp (sftp)

HI, I have to transfer files from linux server to windows using secure ftp (sftp) .Kindly help me out. (3 Replies)
Discussion started by: manushi88
3 Replies

3. UNIX for Dummies Questions & Answers

How to transfer file from Local PC to Unix Directory without FTP!!!

Dear Friends, How to transfer files from my local PC to Unix directory without using FTP. Scenario: Transfer/Upload a file from PC to unix using web browser without using FTP technologies. I heard something like sendunix and sendpc used to transfer files from unix to Desktop and... (1 Reply)
Discussion started by: kk_c2il2
1 Replies

4. UNIX for Dummies Questions & Answers

How do i transfer file using ftp protocol in Linux.

Hi , I want to transfer file using ftp protocol . I m using following linux distribution. LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: OracleVMserver Description: Oracle VM server release 2.2.0 Release: 2.2.0 Codename: ... (5 Replies)
Discussion started by: pinga123
5 Replies

5. Shell Programming and Scripting

file transfer from windows to unix using ftp

Hi all, I have a file in windows, example a.txt **** aaa bbb ccc <empty line> when i transfer this file to unix using ftp, and viewed the file # vi a.txt aaa bbb ccc # I dont get the empty line which i specified in that file in windows. Please help me, which in unix... (5 Replies)
Discussion started by: Nandagopal
5 Replies

6. UNIX for Advanced & Expert Users

FTP transfer from Linux to unix box

Hi, I transferred a tar.gz file from a linux server to a unix server using ftp. In the unix box when i untarred, only few files with zero bytes were copied and i get "tar dir : cksum error" Could anyone help me out ? Thanks & Regards, Abinaya (3 Replies)
Discussion started by: abinaya
3 Replies

7. IP Networking

How to Transfer a whole Directory from unix to windows using FTP?

Hi I can transfer a single file and multiple file from unix to widows using get and mget command.But i dont know How to transfer a whole directory from unix to windows using command. pls help me Ramkumar (1 Reply)
Discussion started by: ramkumarm83
1 Replies

8. UNIX for Dummies Questions & Answers

Transfer files from Unix server to Windows using FTP

Dear Friend, I don't know much about unix.I am an VB6.0 Programmer.I need to move an text files as aaa.txt from unix server to windows "D: " driver using the FTP protocol.Is it possible to do this with help of unix shell script.If possible please give some sample codes. Please answer as early... (1 Reply)
Discussion started by: gjsaravanan
1 Replies

9. Shell Programming and Scripting

transfer of files via ftp from windows to unix

I am currently looking to write a script to transfer files from a windows NT server to a unix server any ideas of how to go about this? (1 Reply)
Discussion started by: chambala5
1 Replies
Login or Register to Ask a Question