Automatic Executiion Of S Procedures during different intervals of day.

Hi Folks,
I need to execute a stored procedure at a fixed interval in a day daily automatically.
for example everyday at (6:00 am,10:00am,2:00pm,6:00pm,10:00pm).
What is the procedure to get this started in Oracle.
I am sure this is possible in Oracle 8, because i had done the same thing in MS SQL Server 6.5 ,2 yrs back.I am not getting such kind of info from
any oracle site or books.
Thanks In Advance
Jispy

Hi,
Create a DBMS.JOB and execute your procedure through it with time intervals. If need a script e-mail me.
Bye
Salman Khan
[email protected]
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by jispy jispy ([email protected]):
Hi Folks,
I need to execute a stored procedure at a fixed interval in a day daily automatically.
for example everyday at (6:00 am,10:00am,2:00pm,6:00pm,10:00pm).
What is the procedure to get this started in Oracle.
I am sure this is possible in Oracle 8, because i had done the same thing in MS SQL Server 6.5 ,2 yrs back.I am not getting such kind of info from
any oracle site or books.
Thanks In Advance
Jispy<HR></BLOCKQUOTE>
null

Similar Messages

  • [svn:fx-trunk] 13317: Fix to allow Animate to automatically handle changes in styles during transitions .

    Revision: 13317
    Revision: 13317
    Author:   [email protected]
    Date:     2010-01-06 16:19:04 -0800 (Wed, 06 Jan 2010)
    Log Message:
    Fix to allow Animate to automatically handle changes in styles during transitions. This same logic already works for properties (e.g., if you specify different values for x in states and run Animate with a SimpleMotionPath with property="x" then it will automatically determine the from/to values to animate for x). But we needed to add an override for getRelevantStyles() for Animate to advertise the possible styles to pick up changes for so that the transitions array would be populated accordingly.
    QE notes: None
    Doc notes: This is a fix that should allow the second animated skin example in the docs (spark_skinning, p46) to work as detailed in my edits
    Bugs: sdk-24932
    Reviewer: Jason
    Tests run: checkintests, Mustella spark/effects
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-24932
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as

    FYI - This regression has been filed here: http://bugs.adobe.com/jira/browse/SDK-31989

  • Permisssion for executing procedure from different schema

    Hi ,
    I am executing following procedure in different package and, I am getting error. Following procedure and error:
    Procedrue:
    DECLARE
    l_tbl_timecard_info APPS.HXC_self_service_time_deposit.timecard_info;
    l_tbl_attributes_info APPS.HXC_self_service_time_deposit.app_attributes_info;
    l_tbl_messages APPS.HXC_self_service_time_deposit.message_table;
    l_new_timecard_id NUMBER;
    l_new_timecard_ovn NUMBER;
    l_time_building_block_id APPS.HXC_time_building_blocks.time_building_block_id%TYPE;
    begin
    --FND_GLOBAL.APPS_INITIALIZE( user_id => 12345,resp_id => 56789,resp_appl_id => 809 );
    APPS.HXC_timestore_deposit.create_time_entry ( p_measure=> 7, p_day => APPS.fnd_date.canonical_to_date ('2002/09/02'), p_resource_id=> 9389, -- Identifies a person on our DB, REPLACE WITH YOUR IDs
    p_app_blocks=> l_tbl_timecard_info, p_app_attributes=> l_tbl_attributes_info, p_time_building_block_id=> l_time_building_block_id);
    end;
    Error:
    Error starting at line 1 in command:
    DECLARE
    l_tbl_timecard_info APPS.HXC_self_service_time_deposit.timecard_info;
    l_tbl_attributes_info APPS.HXC_self_service_time_deposit.app_attributes_info;
    l_tbl_messages APPS.HXC_self_service_time_deposit.message_table;
    l_new_timecard_id NUMBER;
    l_new_timecard_ovn NUMBER;
    l_time_building_block_id APPS.HXC_time_building_blocks.time_building_block_id%TYPE;
    begin
    --FND_GLOBAL.APPS_INITIALIZE( user_id => 12345,resp_id => 56789,resp_appl_id => 809 );
    APPS.HXC_timestore_deposit.create_time_entry ( p_measure=> 7, p_day => APPS.fnd_date.canonical_to_date ('2002/09/02'), p_resource_id=> 9389, -- Identifies a person on our DB, REPLACE WITH YOUR IDs
    p_app_blocks=> l_tbl_timecard_info, p_app_attributes=> l_tbl_attributes_info, p_time_building_block_id=> l_time_building_block_id);
    end;
    Error report:
    ORA-00942: table or view does not exist
    ORA-06512: at "APPS.HXC_TIMESTORE_DEPOSIT_UTIL", line 1519
    ORA-06512: at "APPS.HXC_TIMESTORE_DEPOSIT_UTIL", line 1599
    ORA-06512: at "APPS.HXC_TIMESTORE_DEPOSIT", line 1233
    ORA-06512: at "APPS.HXC_TIMESTORE_DEPOSIT", line 1327
    ORA-06512: at line 10
    00942. 00000 - "table or view does not exist"
    *Cause:   
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The schema on which you are running this procedure do not have the access to the tables that you are referring in this procedure.

  • Automatic update of vendor code during plant to plant Transfer

    Hi all,
    How to configure automatic update of vendor code during plant to plant Transfer.
    Regards
    KK

    hi,
    In transfer posting there is no buying/selling of the goods...there is only transfers may be from plant ot plant...or storage loc to st location...etc...
    When you do plant to plant stock transfer, there is no role of the vendor...but the receiving and the destination plant/storage loc plays a big role...
    Hope its clear...
    Regards
    Priyanka.P

  • Measuring different values with different intervals

    I have a program which is measuring temperatures every second (or how often I want it to) and writes this to a file. But now I want it to open a digital line to measure the current through a resistant and if the current is higher than a certain limit, the program should open another digital line. But I don't want it to open the digital line/measure the current so often because the resistant will get hot, so I want it to measure maybe every 15 minutes. How should I make the program measure these values in different intervals?
    I am really a beginner in labVIEW, and i have no clue how to do this. If someone could give me any advice, even if it's only about where i can look to find a solution, I would be very greatful.

    On your front panel, you can have two numerics: one is the interval between temperature reads, the other is the interval between digital reads. If intervals are on the order of seconds (not milliseconds) you're probably better off checking the interval using Get Date/Time in Seconds rather than using Wait (ms). Add shift registers to your loop to save the last time read (one shift register for last temp read, another for last digital read). Each time through the loop, check if the current time (from Get Date/Time in Seconds on the Time & Dialog palette) is more than the specified interval from the last time read. If it is, take the reading and save the current time as the last time read to the shift register. Use separate case structures for the temperature
    reading and the digital reading.
    See the attached LabView 6.1 example.
    Attachments:
    ReadAtDifferentIntervals.vi ‏35 KB

  • Accounts hit during different MM transactions

    Could anybody help in knowing the accounts hit during below transactions in MM.
    With Std price method of valuation, during different scenarios - GR, IR & Payment
    Normal procurement from vendor - accounts debited, credited, accounts hit in case of price difference
    STO between plants - accounts debited, credited, accounts hit in case of price difference
    STO between co codes - accounts debited, credited, accounts hit in case of price difference
    Subcontracting - accounts debited, credited, accounts hit in case of price difference, accounting of bi product & scrap
    Consignment - accounts debited, credited, accounts hit in case of price difference
    With MAP method of valuation, during different scenarios - GR, IR & Payment
    Normal procurement from vendor - accounts debited, credited, accounts hit in case of price difference
    STO between plants - accounts debited, credited, accounts hit in case of price difference
    STO between co codes - accounts debited, credited, accounts hit in case of price difference
    Subcontracting - accounts debited, credited, accounts hit in case of price difference, accounting of bi product & scrap
    Consignment - accounts debited, credited, accounts hit in case of price difference
    Thanks
    Muralidharan B

    Hi,
    For Domestic Procurement of Raw Material
                During GR
    Material Stock             Dr.
    GR/IR clearing                        Cr.
                During Excise Invoice Credit            
    Cenvat Account          Dr.
    Cenvat Clearing                      Cr.
                During Invoice Verification
    Cenvat Clearing          Dr.
    GR/IR Clearing           Dr.
    Vendor Payable                      Cr.
    For Import Procurement of Raw Material
                During Customs Duty Clearing invoice
    Custom Clearing         Dr.
    Custom Payable                      Cr.
                During GR
    Material Stock             Dr.
    GR/IR clearing                        Cr.
                During Excise Invoice Credit            
    Cenvat Account          Dr.      
    Custom Clearing                     Cr.
                During Invoice Verification
    GR/IR Clearing           Dr.
    Vendor Payable                      Cr.
    For Excise Duty Credit of Raw Material without PO
    Cenvat Account          Dr.      
    Cenvat Clearing                      Cr.
    For Excise Duty Reversal through Excise JV
    Cenvat Clearing          Dr.      
    Cenvat Account                      Cr.
    What should be my accounting entry when the goods are issued through MM and excise invoice is created (J1IS & J1IV)?
    During Excise Invoice Creation
    Cenvat Suspense Account      Dr.
    Cenvat payable                                   Cr.
    For TR6C Challan
    PLA Account              Dr.
    PLA on hold Account             Cr.
    During Fortnightly  Utilization
    Cenvat payable            Dr.
    Cenvat Account                      Cr.
    PLA Account                          Cr.
    Note: Cenvat Suspense Account should be cleared appropriately using FI JV's.
    What should be my accounting entry in subcontracting reversal / Recredit?
    For Subcontracting Challan Reversal
    Cenvat Reversal          Dr.
    Cenvat Account                      Cr.
    For Subcontracting Challan Recredit
    Cenvat Account          Dr.
    Cenvat Reversal                      Cr.
    pherasath

  • Can I automatically add a watermark/background during the printing process?

    We use Quickbooks to email invoices directly out of QB. This software automatically creates the PDF documents by directing the print job through the PDF Printer then attaches it to a new email. What I need to do is add either a watermark or a background automatically to the printed document during this process. I cannot create and save the document first, open it and manually add the watermark. So is there a way to do this so that the workflow goes like this: QuickBooks > Add watermark (in printer properties??) > Attach PDF to new email. I currently have Acrobat X Standard, but will upgrade if I can get this option in another version. Thanks for your help.

    You'll need to print the watermark first, then the calendar (or vice vers, but separate print runs).

  • Photo Elements 12, Mac OS X 10.9.5, Trying to combine two images side by side, same height.  Get this message: "Panorama could not be created as some images could not be automatically aligned". Tried with several different images, same height each combo

    Photo Elements 12, Mac OS X 10.9.5, Trying to combine two images side by side, same height.  Get this message: "Panorama could not be created as some images could not be automatically aligned". Tried with several different images, same height each combo

    One does not "see" the images when selecting;  You just select two file names, click OK, PhotoShop does the rest, and comes back with same message.

  • Different Intervals for each tab in Spry Widget TabbedPanels

    Hi,
    I have two tabs panels in my tab panels group and I would them to have different intervals between the two panels is this possible?
    Heres my code for the tab panels:
    <div id="TabbedPanels1" class="TabbedPanels">
          <ul class="TabbedPanelsTabGroup">
           <li class="TabbedPanelsTab" tabindex="0" onFocus="blur();">Tab 1</li>
           <li class="TabbedPanelsTab" tabindex="1" onFocus="blur();">Tab 2</li>
          </ul>
          <div class="TabbedPanelsContentGroup">
           <div class="TabbedPanelsContent">
                   Tab 1 Content
          </div>
          <div class="TabbedPanelsContent">
                   Tab 2 Content
         </div>
         </div>
    </div>
    and here's my code to specify the interval value at the moment:
    <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", { interval: 12000 });
    TabbedPanels1.start();
    //-->
    </script>
    Thanks

    -- When-New-Form-instance
    IF :SYSTEM.Record_Status ='query' THEN
    go_block('PLN_STOCK_TAKING_HEADER');
    execute_query;
    go_block('PLN_STOCK_TAKING_DETAIL');
    execute_query;
    go_block('PLN_STOCK_TAKING_DETAIL2');
    execute_query;
    END IF;
    same behaviour,excute on tab2 not tab1,well i think it has something to do with the relation..!
    Regards,
    Abdetu..

  • Parallel events occuring at different intervals ...

    Greatings all,
    I would require some help with respect to an application I am writing.
    I am trying to have a VI that would perform simultaniously two tasks in parallel (control/adjust current and perform/process readings) on two different intervals.
    The control/adjust current process would adjust a specific parameter (in this case current) on a specific interval. If the algorythm does not allow convergence of the current after a certain delay, both process need to stop.
    The perform/process readings process would sample, perform calculations and display data from a test equipment on a user programmable interval. This process also has to keep track of the actual total time spent doing this process.The structure would have to consider a series of exit condition such as a quit command from the user, a user programmable timeout and data convergence based on calculations made on sampled data.
    A pause request could also be dictated by the user. In such a case, the control/adjust current process would have to pause and place relevent equipment into a specific mode, the perform/process readings process would have to pause (stop sampling, processing data and calculating the elapse time performing this task) until the user decides to continue.
    I have tried a few things. The most promissing thing (at the time) was to use tree while loops whithin a fourth one: one for the control/adjust current process with its own wait function, one for the perform/process readings with it's own wait function, one for the pause and one to contain the other tree.
    That seemed to work, but I was not able to get instantanious action on pause or quit request. It is as if the program was only taking the two first while loop into consideration. Furthermore, the sampling rate can vary from a short (1 minute) to a long period of time (120 min) and the timout could be as long as a full week. After reading that those time function were not too precise, I got a bit worried since a need a good time precision... After a full week, a few miliseconds error add up.
    Do you have any ingenious and elegant ways of performing those tasks.
    Thanks for your support.
    Kind regards,
    Roger

    Hi Roger!
    As far as the precision of the Wait.vi function, you're right, the timing will become off over an extended period of time. An improvement on this is the Wait Until Next Ms Multiple.vi function. What this does is make sure the amount of time between the start of each iteration is a specific amount apart (as opposed to just having a delay after the iteration of the loop). However, due to the non-deterministic nature of Windows, even this will deviate from the true timing after an extended amount of time.
    So, if you're trying to execute an iteration once every 10 or 15 minutes or so, I would recommend polling the Get Date/Time String.vi function for the current time. This is not a wait function, however you could program your while loop to continuously poll the function and only execute a portion of the code every X minutes. See the attached VI below for an example of what I am talking about (written in LV 7.0). Keep in mind that this is just an example and can be programmed much differently to be customized for your application.
    Also, I'm not sure I completely understand what you mean by "It is as if the program was only taking the two first while loop into consideration." This sounds like just a debugging situation. I would look over your code to determine if there are any dependencies between the loops or if one loop is hogging the processor (by having no wait).
    I hope these suggestions help!
    Travis H.
    National Instruments
    Travis H.
    LabVIEW R&D
    National Instruments
    Attachments:
    Wait10minutes_70.vi ‏33 KB

  • Automatic trigger to run procedure

    I have created a procedure which I would like to be run automatically after some updates in another table. I know easiest way for automatic run of a procedure is by creating a job, though I assume by creating a trigger the same should be possible, correct? please advise? THANKS!!
    CREATE OR REPLACE TRIGGER trigger_run_procedure
    AFTER UPDATE ON zainet_dev_mig.zn_tec_infra_run
    FOR each ROW
    BEGIN
    IF (:NEW.active = 'Y' and :NEW.TS_end is not null ) THEN
    call  run_test_cases ()
    END IF;
    END;
    following error occurs :
    13:29:37 ORA-24344: success with compilation error
    13:29:37 4/9 PLS-00103: Encountered the symbol "RUN_TEST_CASES" when expecting one of the following:
    13:29:37 := . ( @ % ;
    13:29:37 The symbol ":=" was substituted for "RUN_TEST_CASES" to continue.
    13:29:37 7/8 PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    13:29:37 begin case declare end exception exit for goto if loop mod
    13:29:37 null pragma raise return select update while with
    13:29:37 <an identifier> <a double-quoted delimited-identifier>
    13:29:37 <a bind variable> << close current delete fetch lock insert
    13:29:37 open rollback savepoint set sql execute commit forall merge
    13:29:37 pipe
    Edited by: 845498 on 2-aug-2011 4:32

    Hi,
    You can run procedure without CALL
    CREATE OR REPLACE TRIGGER trigger_run_procedure
    AFTER UPDATE ON zainet_dev_mig.zn_tec_infra_run
    FOR each ROW
      BEGIN
       IF (:NEW.active = 'Y' and :NEW.TS_end is not null ) THEN
         run_test_cases;
       END IF;
    END;

  • I want to disable or remove Game center from my iphone. It's always pop up during i play hay day game. So i can not solve this problem. Any way i try to log in game center my several Apple id account but it does' not work. I am still stuck in log in page

    I want to disable or remove Game center from my iphone. It's always pop up during i play hay day game. So i can not solve this problem. Any way i try to log in game center my several Apple id account but it does' not work. I am still stuck in log in page

    The Game Center app is pre installed and cannot be removed from the device.
    Best thing to do is move it to the last available screen.
    Hold down the Game Center app until all the apps jiggle then sliide the Game Center app to the right from one screen to the next. This requires a bit of finesse, but it's doable.
    Press the Home button one time to stop the apps from jiggling.
    For the Apple ID issue, try resetting.
    Tap Settings > General > Reset > Reset All Settings
    Then try your Apple ID and password for the Game Center app.

  • On my iPhone 5, the battery symbol and percentage won't change, even while charging or during usage throughout the day. The battery is however charging and draining properly from what I can tell.

    On my iPhone 5, the battery symbol and percentage won't change, even while charging or during usage throughout the day. The battery is however charging and draining properly from what I can tell.
    Has anyone had this issue or know of a fix?
    Thanks

    Try this
    Restart iPhone: Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for phone to restart (no data will be lost).
    Using the phone while charging doesn't create a problem.. I do it all the time

  • Synchronisation has not been able to complete during the last 7 days. Please check your network settings. What setings do I need to check?

    An error message stating 'Synchronisation has not been able to complete during the last 7 days. Please check your network settings.' has appeared at the bottom of my browser for the last 2 days. Unfortunately, there is no guidance to what network settings I need to check. Any advice will be appreciated.

    Troubleshoot your problem
    *https://support.mozilla.org/en-US/kb/firefox-sync-troubleshooting-and-tips

  • Only five different users each day. Please try again later!!!

    I use a miniMac server as a iTunes library and connect via home sharing today for the first time I got this message "The shared library “Library” accepts only five different users each day. Please try again later."
    But I haven't access the library with 5 different users!!!! Anyone any ideas?

    I think you are connected via Sharing Not Home Sharing. How did you enable your sharing?
    Here is an article explaining the differences
    http://support.apple.com/kb/HT2688

Maybe you are looking for

  • Using javascript to control the browser

    Hi all, One of the most requested features on our first Breeze project was a "quit" button. The easiest way to do so in an HTML environment is to use the command javascript: window.close(); Type this into the address bar on your browser, and hit retu

  • Wireless Deployment with Active Directory User Group Integration

    I am trying to find out the best practice in deploying a WLAN for users in the cooperate environment, which uses their company active directory integrated laptops to join to the WLAN. I know this can be done using certificates easily but I want to ju

  • Apps login issue

    hi , i am unable to login as apps please help me out when i run dp01era0 $ sqlplus apps/******* SQL*Plus: Release 8.0.6.0.0 - Production on Mon Mar 9 13:57:21 2009 (c) Copyright 1999 Oracle Corporation. All rights reserved after this it does not go f

  • [nQSError: 12002] Socket communication error at call=recv: (Number=10038)

    Hi, When I try to run any reports in Oracle Answers I am getting the following error: Odbc driver returned an error (SQLExecDirectW). State: HY000. Code: 10058. NQODBC SQL_STATE: HY000 nQSError: 10058 A general error has occurred. nQSError: 12002 Soc

  • IMovie Project contents gone missing – what's broken and where is it all?

    I used the latest iMovie (iLife 09) on an dual-core Intel Mac tower to make a 6-minute movie for a client. First time I've ever used iMovie. Worked great and I subsequently used iDVD to burn it for standard DVD player viewing. Now when I open the ori