Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Transfer ftp jobs from hp UNIX to Linux 6.x using cronjobs Post 302826467 by AReddy on Thursday 27th of June 2013 08:40:19 AM
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...
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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 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

7. 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

8. 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

9. 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
atrm(1) 							   User Commands							   atrm(1)

NAME
atrm - remove jobs spooled by at or batch SYNOPSIS
atrm [-afi] [ [ job #] [user...]] DESCRIPTION
The atrm utility removes delayed-execution jobs that were created with the at(1) command, but have not yet executed. The list of these jobs and associated job numbers can be displayed by using atq(1). atrm removes each job-number you specify, and/or all jobs belonging to the user you specify, provided that you own the indicated jobs. You can only remove jobs belonging to other users if you have solaris.jobs.admin privileges. OPTIONS
The following options are supported: -a All. Removes all unexecuted jobs that were created by the current user. If invoked by the privileged user, the entire queue will be flushed. -f Force. All information regarding the removal of the specified jobs is suppressed. -i Interactive. atrm asks if a job should be removed. If you respond with a y, the job will be removed. FILES
/var/spool/cron/atjobs spool area for at jobs ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
at(1), atq(1), auths(1), cron(1M), auth_attr(4), attributes(5) SunOS 5.10 13 Aug 1999 atrm(1)
All times are GMT -4. The time now is 08:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy