Dbms_scheduler.file_watch will only pull in files with t/s = last run...

Hello,
I may be missing something easy, but instead of spinning my wheels I'll ask.
I am new to using the file_watcher in the dbms_scheduler so I followed the directions posted in this link:
http://awads.net/wp/2011/03/29/did-you-know-about-file-watchers/
Now this works, I can process the file.
But the file_watcher WILL ONLY Pull files that are modified/created AFTER the last run.
Since I am NOT running this in parallel, that means any file not picked up in the initial run will simply sit out there aging.
Am I missing something? I understand that it may be desired behavior to only pick up new files, but our process moves the files out of the directory once they are found. It seems odd that if you do not run it in parallel the file will be ignored forever more.
Am I missing a param?
--Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
BEGIN
      DBMS_SCHEDULER.create_program (
         program_name          => 'FILE_INGEST',
         program_type          => 'STORED_PROCEDURE',
         program_action        => 'Package.Procedure',
         number_of_arguments   => 1,
         enabled               => FALSE);
      DBMS_SCHEDULER.define_metadata_argument (
         program_name         => 'FILE_INGEST',
         metadata_attribute   => 'event_message',
         argument_position    => 1);
      DBMS_SCHEDULER.enable ('FILE_INGEST');
      DBMS_SCHEDULER.create_file_watcher (
         file_watcher_name   => 'watcher_fw',
         directory_path      => '/mydiriwanttowatch',
         file_name           => '*',
         credential_name     => 'sys.cred' ,
         destination         => NULL,
         enabled             => FALSE );
      DBMS_SCHEDULER.create_job (
         job_name          => 'FILE_INGEST_WATCHER',
         program_name      => 'FILE_INGEST',
         queue_spec        => 'watcher_fw',
         auto_drop         => FALSE,
         enabled           => FALSE);
    DBMS_SCHEDULER.enable ('watcher_fw,FILE_INGEST_WATCHER');
END;
/

okay,
Lets say the time of the last run is
05/12/2011 @18:00pm
I place three files into the directory
File1 05/12/2011 18:01
File2 05/12/2011 18:02
File3 05/12/2011 18:03
At the 18:10 run, file1 is picked up and processed
File2 and File3 never get processed or sent to the stored procedure to run (even on the 18:20, 18:30 etc file_watcher runs). however, if I go into file2 and make a change (at 18:35) the 18:40 run will pick it up...
but without manual intervention File3 will never get sent to the stored procedure.
I would expect, at the minimum, that on the first file_watcher job that ran file1 would be picked up, then file2 and file3 and the next subsequent runs (without manipulation).
what I mean about not running in Parallel:
DBMS_SCHEDULER.set_attribute('FILE_INGEST_WATCHER','parallel_instances',FALSE);Edited by: Harrison on May 12, 2011 3:11 PM

Similar Messages

  • I need to scan wirelessly from a MAC (OS 1.7 or higher) through Adobe Acrobat Pro X (or higher).  Have discovered that all in one printers say they are MAC compatible but will only scan when connected with a USB cable.  Would prefer a laser, color, all in

    I need to scan wirelessly from a MAC (OS 1.7 or higher) through Adobe Acrobat Pro X (or higher).  Have discovered that all in one printers say they are MAC compatible but will only scan when connected with a USB cable.  Would prefer a laser, color, all in one.  Does anyone have printer suggestions that you know will scan wirelessly?

    Great information.  
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • HT4718 will i lose personal files with a mountain lion reinstall??

    will i lose personal files with a mountain lion reinstall??

    Not unless you go out of your way to erase the disk, first.
    However, nothing is foolproof and the probability of something going wrong during the reinstall is inversely proportional to the number of backups you have.

  • Will saving a sequence file with modified variables work on all licensing levels of TestStand?

    I am thinking of enabling editing of test limits for a few steps via an operator interface mechanism of some sort (popup dialog box, etc.).
    If I make an API call to save the sequence file with the modified limits (as opposed to using the property export/import mechanism), will the call succeed if the end-customer has only a deployment license (no debug or dev)?
    For that matter, if I *were* to use the property export mechanism via an API call from the operator interface, would that call succeed regardless of the licensing level on the target machine?
    Thanks in advance...

    The deployment license will not allow you to save sequence files using the API.  It will generate an error.
    Allen P.
    NI

  • Ipod touch will only restart if connected with usb to pc

    My ipod touch 3rd gen will only restart if it's pluged in to the pc with a usb cable, why?  The battery has full charge.. power button seems to work fine. i can turn it off normally... Whats up with this, Help!

    It could still be the battery but try these first:
    - Reset. Nothing will be lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPod.

  • All indesign images/ texts are locked and will only let me move with arrow keys

    Hi,
         I've run into bit of a snag recently. I'm new to indesign but have alot of experience with other aodbe products.
    I recently attempted to megre several documents together. After viewing the book I deleted it and went to edit the individual documents but I cannot move any files with my mouse. ????
    Also, all my documents still have page numbers relating to the book that i deleted....
    If any one has any suggestions please let me know
    Thanks
    James 

    For prefs, see Replace Your Preferences
    If this is Windows 7 or Vista, see InDesign tools and panels don't respond to mouse clicks (Windows 7/Vista)
    As far as numbering, if the files were in a book, removing them isn't going to change the numbering as it was updated by the book. You must reset that for each file manually uing the Section and Numbering Options in the Pages panel.

  • I upgraded Pages 5.1 on 2/25/14- worked until yesterday- now will not open lg files with "you need a newer version-" what??

    I upgraded Pages 5.1 on 2/25/14. All worked fine until yesterday when I could not open my journal (large file) giving me the warning "you need a newer version of Pages to open this document". Other documents open. What to do?

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5/5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5.1 sometimes can not open its own files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has not only managed to confuse all its users, but also itself.
    Note: Apple has removed over 95 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store.
    Peter

  • Reconnect Media - Will only do one file at a time. (all files is checked)

    I found one Google search that said this may be a bug... http://forums.creativecow.net/thread/8/1047891 and it's really bothering me since I have about 500 more media files to connect.
    When I select multiple files in my Project File Browser, right click, hit Reconnect Media... It opens the Reconnect Files window. Then I hit "Locate", navigate to the folder holding the files (Reconnect All files in Relative Path is checked), select the file, confirm, then hit connect... Only one file (the first one selected) reconnects.
    It's worse than that for me, now the file is Connected in my Project File browser, but it still doesn't reconnect in my sequences. So now I have to go in the sequence and right click on the individual clips, and manually reconnect those as well.
    At this point it take 6 plus clicks per file missing, times two because I have to reconnect these clips in the sequences as well... times 500 because that's how many offline files I have.
    My lord, I've already done this to half of the project, I can't do it any more... where am I going wrong or is this a bug? If so, please tell me there is a workaround.
    The file I'm working in is a feature film, so it's huge... I can't start over at this point.
    Thanks for your time!
    -Monty

    The only multiple files it will reconnect are the ones that are already connected.
    I hope I figured it out but need more advice. It may be that the files that won't connect do not have a visible file extension ".mov". How can I get these files to shoe ".mov" at the end of their names without manually renaming them all?
    And the reason this is happening is I was using reference files to edit a movie, now I've been given new hard drives with the final uncompressed footage but same file names for each clip... plus the new hard drives I'm using have different names.
    Thanks for your time!
    -Monty

  • How to make ads/banners published for an Adserver (only an HTML file with all js files and images linked)

    Hi everyone!
    I'm hoping someone can solve this.
    I have made some ads in Edge Animate CC and need to put them on an Adserver....
    but the adserver company only accept the HTML code... only extra files or images.
    This means linking the images and the .js files to URLs. I have done it with the images but are hitting a wall with the _edge.js
    I added the script in the HTML to load the _edge.js. (<script src="http://www.christianlaursen.net/ADS/WL_AD_160x600_edge.js"></script>)
    But I get certain errors in the console which I believe relates to how Edge tries to load _edge.js locally (even if i load it separately)
    Uncaught ReferenceError: AdobeEdge is not defined                    WL_AD_160x600_edge.js:3
    Failed to load resource: net::ERR_FILE_NOT_FOUND                 file:///C:/Users/claursen/Desktop/WL_AD_160x600_edge.js
    Uncaught TypeError: Cannot read property 'stage' of undefined    edge.5.0.1.min.js:133
    Uncaught TypeError: Cannot read property 'stage' of undefined    edge.5.0.1.min.js:126
    This is as far as I got. I am not sure 100% the script is being loaded correctly, but as the console is complaining about the local file, I have
    a feeling it's with Edge's attempt to load it locally that causing it to stop.
    Anyone doing Ads with Edge? It seems it should be such a simple thing and also important thing
    Thanks in advance for reading and any given help!

    I have verified that an Edge published banner can be booked into DFP (Doubleclick for Publishers) as a third party tag by creating an iFrame of the link to your edge published HTML file. You save that file as a *.txt.There is still the issue of click URL macros, and cachebusters. For DFP the click URL macro is %%CLICK_URL_ESC%%
    So you would probably use in Edge
    window.open('cta', %%CLICK_URL_ESC%%'http://somedomain.com/');
    then for the cachebuster, DFP's is random=%%CACHEBUSTER%%
    This is what an Edge published banner tag would look like.
    <style type="text/css">
    body{
    margin: 0;
    padding: 0;
    </style>
    <iframe src="http://www.somedomain.com/yourfilename.html"
    marginwidth="0" marginheight="0" scrolling="no" width="160" align="top"
    frameborder="0" height="600"></iframe>
    IMO it is worth pursuing using Google Analytics for the reporting, as you can put your Google Analytics code in your Edge published HTML file.Hopefully someine with GA experience will chime in.
    Event Tracking in Google Analytics Universal through Google Tag Manager - YouTube

  • Premeire elements 12 will only download as files...

    Purchased Photoshop Elements and Premiere Elements. Photoshop Elements downloaded correctly. Premier Elements downloads as files only. I don't know what to do next. Thanks for any help.

    g7enda
    Thanks for the follow up.
    Typically when you see the message that you showed in post numbered 5 that means that you have not downloaded the .exe file.
    Do you have exe saved to the same place as the .7z file at this time? Are they still on the desktop or both moved to Documents?
    Please double check to assure that antivirus and firewall are disabled. When did this message first appear
    a. when you applied Run As Administrator to the .exe
    b. other
    If all else does not work out, then try for another download. If problems continue, Adobe via Adobe Chat might help with a remote
    control of your computer (not sure). Here is the link to Adobe Chat, just in case. But, I think you should be able to work through this.
    Contact Customer Care
    You want to get to a page that looks like the screenshot below where you click on the Chat option.
    (If the link provided reverts with the earlier page, select the "Still need help? Contact us." to get to the page shown in the screenshot)
    We will be watching for your progress. Do not give up.
    Thanks.
    ATR

  • Adobe Reader 9.2 will only print to file

    Since installing the 9.2 update, I am unable to print a pdf.  Each time I try, I receive the print to file dialog box.  I have never experienced any similar problem with prior versions of Reader.  I am ruinning Windows XP SP2 with an HP 1320 laserjet printer.  Current PCL and post script drivers are installed.
    Can anyone tell me what the issue is and how to print PDF's through Reader once again?  Thanks.
    Birdie Bob

    Thanks graffiti.  I did not realize that Reader had its own print dialog and there is no print to file option on the regular printer dialog.  I opened Reader, opened a pdf, and clicked on print to pull up the reader print dialog.  The print to file option was displayed in the lower left and it was selected -- I assume that came as a default setting when 9.2 was downloaded (I don't remember seeing or selecting it on this or any prior versions).
    At any rate, I deselected the option and the pdf's now print normally.  Thanks for the help and problem resolved.
    Birdie Bob

  • Cannot print in Adobe 9 it will only print to file which does not work

    I cannot print a PDF file that is in Adobe 9.  It is not the file, I opened several other files and they all do the same thing.  INstead of printing.  When I click OK after choosing the printer, it goes into a print to file mode.  The print to file always fails and then it will nto print.  This morning it was working fine.  Now it will not print. It may have installed an update to Adobe 9, I do not remember it being 9 before.   I am in trouble if I cannot print tonight.  Any ideas?

    WHat is a "print dialogue?n  How can I find it"  There is nothing that I can find called print dialogue.
    Where do nI find "print to file in order to disable it?

  • Premiere pro will only exports 2 files Audio and Video

    Hi i'm jared i have a serious problem premiere pro is exporting 2 file an audio and a video file I've tried to use multiplexing and it wouldn't work please help.

    Yes that is correct: video files (mp4). They are not separate.
    Just export and see what you got.
    Start with a small segment of your timeline.

  • HT204135 Printing email to PDF it will overwrite if other file with same name

    When printing an email to PDF (in OS X 10.8.2) it will overwrite if another already printet with the same name, this did not happen in older versions. Why?

    Hi,
    When you create a snapshot you create a snapshot task which (provided you are using a server-side data store) can be run from a job. To refresh the data, run the snapshot task as part of a job. If you create a job with both the snapshot and the process that uses it, they will automatically connect and will 'stream' the data through the snapshot into the process. You can then choose whether actually to write the snapshot or not (for improved performance efficiency if you want to do straight-through processing) by either enabling or disabling the staged data bucket that the snapshot writes to. The snapshot task being in the job means the data will be refreshed.
    For design work in Director, you can refresh the snapshot by re-running it manually from the right-click menu.
    Regards,
    Mike

  • HT1349 I recently upgraded my iPad to the ios5 and now my already downloaded videos will only play the music with no video, any suggestions?

    I recently upgraded my IPAD to the ios5 and now my already downloaded music videos only play the music and no video plays. any suggestions?

    When you say that the orientation lock doesn't work, we have no way of knowing if that means that the screen is locked in one position only, or that it will not lock in one position only. So try something g very basi and reboot your iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    In the camera app, you have to swipe up and down on the screen to move between photo, video and the square photo mode options, so are you even in the correct mode to take videos?

Maybe you are looking for

  • Missing songs from iphone but not itunes?

    Sorry if this has been answered elsewhere but I wasn't able to find it. Sometimes when I connect my iphone to my Win7 desktop and manually drag new songs onto the iphone, I wait until the Sync process disappears off the screen before disconnecting my

  • Issues to Production Orders created from Sales Order

    We have multiline Sales Orders that create a Production order for each sales order line (can be up to 70 or 80 per SO). We normally backflush these via multiple MB1A transactions after the SO has been completed. It is a lot of work doing the required

  • Drag and Drop from Photos app to Safari does not work (Regression to iPhoto)

    Drag And Drop from the new Photos app to Safari does not work. This worked perfectly with iPhoto before. I use this a lot to upload photos to a Wordpress blog. Is there a way to make this work again? Its a major regression to the old iPhoto behaviour

  • LoadReport takes more than an hour

    I have a report which is being used by dozens of customers and it runs just fine. At one clients site the report takes over an hour to load, but only on one specific machine. Loading the same report using the same data on a different machine take lik

  • Itunes can't see my Airport Express speakers after I close my laptop

    So this is a weird issue- and I haven't been able to find a prior discussion on this topic. Apologize in advance if I asking something that is already well documented. but I've seen the problem on two separate laptops now: if I stream my itunes throu