The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
db2 - copy data from one db to another jyoung AIX 2 03-04-2008 07:48 AM
copy, clear and keep to new data only sarge UNIX for Dummies Questions & Answers 1 10-09-2006 11:26 AM
copy data from Windows to Unix any help? odogbolu98 UNIX for Advanced & Expert Users 8 07-09-2002 01:22 PM
newbee - copy data from UNIX to Linux steven5046 UNIX for Dummies Questions & Answers 3 06-28-2001 04:03 PM
How to copy data file from UNIX and put it on PC BillyT UNIX for Dummies Questions & Answers 3 01-22-2001 10:09 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-05-2004
zomboo zomboo is offline
Registered User
  
 

Join Date: Aug 2004
Posts: 6
copy prod data to QA

We keep getting production files into an input directory.

These files will be processed three times a day.



8:00AM
1:30PM
5:30PM


file1.20041005_05303423.dat
File2.200041005_14232313.dat

Once the files are processed, they are archived immediately to prod/archive directory

Apart from these there is a script that runs early morning at 5.30am that copies all the files which are one day old or less that reside in prod/archive directory to QA input directory.

Eg

The first file above get processed by 8:00AM job and it archived to prod/archive directory.
Similarly the second file,gets processed by 1.30PM job

Now since the file that comes in production input directory after 5.30pm , don’t get processed until 8am job in the next morning.The QA night job would not pick up this file because it is still in input directory of prod at that time(5.30am qa copy ).

This file copy from prod archive directory will only take place the following morning ie 1007 and since it is already two days old by then, QA doesn’t pickup this file from prod/archive directory.

How do i solve this problem.What logic should I implement to inorder for QA job to pick post 5.30 PM files in prod directory.
If I increase the time from 1 day to 2 days then , the QA job will pickup the same files again.
I am not sure if I was clear in explaining , if you have
any specific doubts please mention and I shall respond to immediatley.

Your help is greatly appreciated.

z
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0