Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 21-11-2008, 01:20 AM   #1 (permalink)
Alpha Geek
 
raksrules's Avatar
 
Join Date: Nov 2006
Location: Mumbai <-> Pune
Posts: 527
Default Oracle Apps: Need concurrent program to run when file comes in Unix directory


My requirement is to fire a concurrent program only when a file comes in a particular Unix location.

We have already built a program that is supposed to pick up files from a Unix path and process them. Now currently this program needs to be run manually by someone after putting (FTP) the files in that directory.
Another option is that we schedule this program to run at regular interval and get the job done.

But the client wants that the program should not run unnecessarily and also he wants minimum manual intervention, so he suggested that we run the program ONLY when a file is FTPed in the predefined location. How do we accomplish this requirement ???

Please suggest
raksrules is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 21-11-2008, 02:47 AM   #2 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: Oracle Apps: Need concurrent program to run when file comes in Unix directory

The Unix File-Alteration-Monitor daemon may be helpful. Check it out here. (The external resource links, don't miss them. FAM provides a decent enough API and is used at many places in GNOME.)
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
The file or directory is corrupted or unreadable a_tif Software Q&A 5 05-01-2008 08:08 PM
what is the diff b/w a file and a dir in Unix rahul.ims Chit-Chat 12 13-09-2007 04:09 PM
Vista: Problems After changing the default program instalation directory CadCrazy Software Q&A 4 24-06-2007 02:21 PM
Tutorial : How to generate Folder/File Listing of a Directory? sridatta Tutorials 6 29-01-2007 06:20 PM

 
Latest Threads
- by gforz
- by soumya
- by Sujeet
- by icebags
- by Charan

Advertisement




All times are GMT +5.5. The time now is 03:00 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2