You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hi,
The Scenario is to download a file from the FTP site only in the specified time (say between 09:00 and 09:30 AM) everyday.
If the said file does not arrive at the specified time, then do not download.
Can anyone help me in this?
Thank you
Achyuth
Offline

Hi,
Thank you for the reply.
But I want to run it only in the particular time frame.
I do not want to download the file if it does not arrive in the specified time frame.
Achyuth
Offline

Hi AchyuthB
You can design a scenario like
twaitForFile -> tRunJob
-> We have the component 'tWaitForFile' which monitors to the local folder for file create/update/delete
tHANKS
ANIL KUMAR
______________________________________________________
HAPPY NEW YEAR TO U AND TO UR TEAM....
HAPPY 2012
Last edited by anilmca4u (2012-01-03 11:25:22)
Offline

Hi Anil,
But then where do i specify the time boundary?
In your case, if the file arrives before or after the specified time, then also the file will be downloaded, right?
Thank you
Achyuth
Offline

@anilmca4u, there is no component twaitforfile for ftp.
You can use a tInfiniteLoop.
tInfiniteloop----iterate-----tFileExiste-------ifexist--------tRunJob
If you want to run your job only between 09:00 and 9:30, you can try to schedule it on your server ( iguess your job is on a server right?). If it's on a linux, just edit the crontab to run the .sh at 9:00 and create a shell script to stop it that you cront at 9:30 (I can give you the script which stops a process using his name).
If it's a windows, use the scheduler.
Offline

Hi AchyuthB
To specify the time frame to run a job Talend provide Job Server or TAC there u can schedule a Job
tHANKS
ANIL KUMAR
______________________________________________________
HAPPY NEW YEAR TO U AND TO UR TEAM....
HAPPY 2012
Offline
Pages: 1