Proecure to be executed at specific time

Hi All,
I have created a procedure which will create table on top of data from another schema, but i want the procedure to be executed at midnight as there would be some udpates in database during the day until midnight. I want to create my tables on top of the database after updates have been commited. Is there anyway to achieve this task to execute my proecure by assigning a specific time?
Best Regards,
Lee

hi
We use DBMS_JOB.
But as I read, DBMS_SCHEDULER is a newer feature of ORacle. Can I do everything with scheduler, which I did with DBMS_JOB?
And can I reach scheduler logs? Finally are there any performance differences

Similar Messages

  • Servlet that executes at specific time intervals ?

    Hi
    I need to have my Servlet that is loaded onto the webserver, run at specific time intrevals, say every 10 minutes.
    How do I do that ?
    Thanx in advance
    Aragorn

    I have trouble with this concept.
    HTTP is a request/response protocol. Usually a servlet runs when it receives an HTTP request and sends back an HTTP response.
    If you want the servlet to wake up and do something at a fixed interval, it's not responding to an HTTP request anymore. What does it do with the HTTP response that's generated? What happens if it receives an HTTP request from an external client after waking up and starting the timed process? Have you made sure that your servlet is thread-safe in that case?
    This feels less like a servlet and more like something else (e.g., an RMI service, EJB, or multi-threaded server). It sounds like you're using the servlet engine/container as a convenient service container, but I don't think servlets were meant to be used that way.
    I'll be happy to take instruction on this if I'm incorrect. I just thought I'd disagree to see what the response might be. Thanks - MOD

  • How can I execute a command every 10 seconds in a specific time-frame

    Hello,
    I would like to create a script which in a specific time-frame collects some outputs and also pings every 10 seconds.
    To collect the outputs every minute from 22:00PM to 22:10PM I have the following:
    event manager applet snmp_output
    event timer cron cron-entry "0-10/1 22 * * *" maxrun 30
    action 010 cli command "enable"
    action 020 cli command "show clock"
    action 030 cli command "terminal exec prompt timestamp"
    action 040 cli command "show snmp stats oid | append bootdisk:show_snmp_stats_oid.txt "
    action 045 wait 5
    action 050 cli command "show snmp pending | append bootdisk:show_snmp_pending.txt "
    action 055 wait 5
    action 060 cli command "show snmp sessions | append bootdisk:show_snmp_sessions.txt "
    acionn 065 wait 5
    action 070 cli command "end"
    To confirm connectivity to the device doing the SNMP polls I would like to execute a ping every 10 seconds in the same timeframe.
    Cron seems only to support minutes. Is it possible to combine a watchdog timer + a cron timer?
    Can this ping function be incorporated in the SNMP output applet or will I have to write a new one?
    Will I need TCL here (I have no experience in TCL)?
    Best regards,
    Tim

    If you wanted the pings to run in parallel, you could have this applet configure another applet to do the pinging, then remove it on the last run.  This will require an amount of programmatic logic, though.  If you wanted to keep things a bit simpler, add another applet that runs at 22:00 that configures a watchdog pinging applet, then a third applet that runs at 22:10 that removes the pinging applet.
    When it comes to embedded quotes when you configure your nested pinging applet, you'll need to use $q to stand for the embedded quotes.  You'll also need to configure:
    event manager environment q "

  • Execute Java Program in a specific time everyday

    Hi All,
    I need help for Execute Java Program in a specific time everyday.
    I want to do insert data into database every 3:00 AM everyday.
    I thought there is a one thread program will do. It is correct my understanding? Please let me know and guide me How can I do?
    Thanks
    Amit

    If you are using Window$ then you can create a bat file to execute the program and place the bat file in Scheduled Tasks.

  • Execute a Job  in  a specific time

    Hi Friends,
    I want to create a job that is gonna start in a specific time.
    But when the job is executed It does not receive the parameters that I'm sending with the sentence SUBMIT.
    The code is:   
    BEGIN JOB
            CALL FUNCTION 'JOB_OPEN'
              EXPORTING
                jobname                = ls_job
               sdlstrtdt              = '20080702'
               sdlstrttm              = '180830'
               jobclass               = 'A'
             IMPORTING
               jobcount               = li_number
             EXCEPTIONS
               cant_create_job        = 1
               invalid_job_data       = 2
               jobname_missing        = 3
               OTHERS                 = 4.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
    EXECUTE PROGRAMM Z WITH 3 PARAMETERS
            SUBMIT zmmp0421
            WITH pa_bukrs EQ e_trbkpv-bukrs
            WITH pa_belnr EQ e_trbkpv-belnr
            WITH pa_gjahr EQ e_trbkpv-gjahr
            USER ls_user VIA JOB ls_job NUMBER li_number
            AND RETURN.
    CLOSE JOB
            CALL FUNCTION 'JOB_CLOSE'
              EXPORTING
                jobcount             = li_number
                jobname              = ls_job
                sdlstrtdt            = '20080702'
                sdlstrttm            = '180830'
                dont_release         = ' '
                strtimmed            = 'X'
              EXCEPTIONS
                cant_start_immediate = 1
                invalid_startdate    = 2
                jobname_missing      = 3
                job_close_failed     = 4
                job_nosteps          = 5
                job_notex            = 6
                lock_failed          = 7
                OTHERS               = 8.
    Could you plzzz tell me ... what's wrong???

    Hello there!
    Just look to some comments to your code:
    1 - When you OPEN the job, don't give a start time and not needed paramters, that can avoid it to work properly.
    CALL FUNCTION 'JOB_OPEN'
         EXPORTING
              jobname          = w_jobname
         IMPORTING
              jobcount         = w_jobcount
         EXCEPTIONS
              cant_create_job  = 1
              invalid_job_data = 2
              jobname_missing  = 3
              OTHERS           = 4.
    2 - If you want your JOB to start in a specific time, why do you use parameter strtimmed EQ 'X' at CLOSE job? It's not coerent.
    CALL FUNCTION 'JOB_CLOSE'
         EXPORTING
              jobcount             = w_jobcount
              jobname              = w_jobname
              sdlstrtdt            = sy-datum
              sdlstrttm            = l_hora
              targetserver         = w_servidor
         IMPORTING
              job_was_released     = l_liberado
         EXCEPTIONS
              cant_start_immediate = 1
              invalid_startdate    = 2
              jobname_missing      = 3
              job_close_failed     = 4
              job_nosteps          = 5
              job_notex            = 6
              lock_failed          = 7
              OTHERS               = 8.
    3 - To pass parameters to your submited report, use a table to pass those to it:
    DATA: seltab     TYPE TABLE OF rsparams,
          seltab_wa  LIKE LINE OF seltab.
    CLEAR seltab_wa.
    seltab_wa-selname = 'PA_BUKRS'.
    seltab_wa-low = e_trbkpv-bukrs.
    APPEND seltab_wa TO seltab.
    seltab_wa-selname = 'PA_BELNR'.
    seltab_wa-low = e_trbkpv-belnr.
    APPEND seltab_wa TO seltab.
    seltab_wa-selname = 'PA_GJAHR'.
    seltab_wa-low = e_trbkpv-gjahr.
    APPEND seltab_wa TO seltab.
    SUBMIT zmmp0421
        WITH  SELECTION-TABLE seltab
        USER sy-uname
    VIA JOB w_jobname NUMBER w_jobcount
         AND RETURN.
    Hope this helps you some way.
    Regards.
    Valter Oliveira.

  • What is the best way to execute code at a specific time?

    Hello,
    I have a problem. I need to execute some code at a specific time: subVI A should run at e.g. 2 seconds (after start) and stop at 3.5 seconds and subVI B should execute at 3.5 seconds until 5 s. The user can choose the time points. It could also be that subVI B has to execute before subVI A or at the same time.
    Time precission is not important +/- 20 ms is ok.
    I have implemented it like that: In a loop (period time approx. 20ms) I query if the timeframe has come and then the subVI will be executed.
    See attached picture.
    I don't believe that this is an economic way. It will produce high CPU load. How can I do it better?
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Attachments:
    Timeframe.PNG ‏9 KB

    @HaD
    Something like this?
    Johannes
    LabVIEW 7.1 (!)
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Attachments:
    Timeframe.vi ‏33 KB

  • SAP_COLLECTOR_FOR_PERFMONITOR - canceled only at specific time

    Hi All,
    Job SAP_COLLECTOR_FOR_PERFMONITOR is scheduled hourly on ECC system.
    All jobs are finished successfully in a day but only at specific time its getting failed.
    Recently we have upgrade the support package of SAP_BASIS & SAP_ABP from 05 to 13. After then we are getting this error message.
    In ST22 we getting ABAP dump for job:-
    Runtime Errors         LOAD_PROGRAM_NOT_FOUND
    Date and Time          27.08.2014 12:19:42
    Short text
         Program "RSORA811" not found.
    What happened?
         There are several possibilities:
         Error in the ABAP Application Program
         The current ABAP program "RSCOLL00" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
         or
         Error in the SAP kernel.
         The current ABAP "RSCOLL00" program had to be terminated because the
         ABAP processor detected an internal system error.
    Error analysis
        On account of a branch in the program
        (CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
        or a transaction call, another ABAP/4 program
        is to be loaded, namely "RSORA811".
        However, program "RSORA811" does not exist in the library.
        Possible reasons:
        a) Wrong program name specified in an external PERFORM or
           SUBMIT or, when defining a new transaction, a new
           dialog module or a new function module.
        b) Transport error
    How to correct the error
        Check the last transports to the R/3 System.
        Are changes currently being made to the program "RSCOLL00"?
        Has the correct program been entered in table TSTC for Transaction " "?
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "LOAD_PROGRAM_NOT_FOUND" " "
        "RSCOLL00" or "RSCOLL00"
        "LOOP_AT_SYSTEMS_AND_REPORTS"
    System Details :-
    SAP Version - SAP ECC 6.0 EHP 4
    Oracle DB - 10.2.0.5.0
    OS- HP UNIX 11.31
    Kernel Release 721 - patch level 201
    Please suggest for solution
    Regards,
    Ajay Asawa

    Hi Ajay,
    If any job is failing at a particular time, you should look for other changes happening in you system.
    Perhaps, any other job running causing problems.
    Alos, refer: 1841778 - LOAD_PROGRAM_NOT_FOUND in RSCOLL00
    Regards,
    Divyanshu

  • How do I know  what transactions executed by specific user for last month

    All
    We have a request to find out  what transactions are executed by secific user
    for last couple of months.
    Is there any report in SAP would tell me ?
    Please advise.
    From
    PT.

    Hello PT,
    If you use the search for the term "How do I know what transactions executed by specific user for last month" then I guarantee you some good hits in the result, and further more detailed search terms to use...
    Cheers,
    Julius
    (this time in response to the correct thread...)

  • Table or FM to display inventory for material in plant for a specific time

    Hi, is there a table or FM or transaction that can display the plant inventory for a material for certain batch/plant for a specific time? I need to trouble shoot a problem that may be related to delivery not been created on the date determined in the sales order schedule line. Need to see if there is actually sufficient stuff at the time when the delivery due list is executed.
    MMBE or MB52 only gives me the inventory level as of the systems date/time. Need to pull out historical data.
    Any advise is appreciated.
    Thanks

    hi
    MB5B is one option to get stock on particular date.may be you can chedck MD05 - MRP list to get stock statement at time of MRP run.
    Vishal...

  • How can i set a specific time for a transaction code to be run?

    I want to know if a certain Transaction Code (not only the customized tcodes) could only be run on a specific time (ie. 4pm to 6am only)

    There are two ways to achieve the purpose you wanted:
    1. If the work to be done by this Tcode can be processed automatically without any interactive session (dialog user) then I would suggest it to process as Batch Job in the time period you specified. And make sure that none of the users are not having corresponding authorization to execute the same task in foreground.
    2. If you need the Tcode to be executed only when you can monitor then the best way is to monitor the users containing the Tcode through SM20 audit log as a Mitigating control.
    No such facility is currently available to protect a Tcode for a particular time interval in a day. You may write a message to SAP for suggestion.
    regards,
    Dipanjan

  • How can I automatically have the XRAID turn on and off at a specific time?

    Hi Everyone,
    I was wondering if anyone can help me figure out how to turn on and off the XRAID at a specific time. My electrical bills are crazy. Is there a way to get this done?
    Thanks,
    Jorge

    Hi Everyone,
    I was wondering if anyone can help me figure out how
    to turn on and off the XRAID at a specific time. My
    electrical bills are crazy. Is there a way to get
    this done?
    Thanks,
    Jorge
    I think turning the RAID on and off periodically is a bad idea. But if you really really really want to do this ....
    Connect the xserve raid to a 'metered power strip such as those provide by APC. you can telnet to the power strip via the network to power off individual port)
    write a script (run on the xserve or powermac that the RAID is connected to (direct or via switch)
    0) quit application (issue a quit command or if the application have a stop command (example databse can be stopped)
    1) unmount volume (must)
    2) issue a telnet command via expect script to control the power strip to power off the array.
    If you have java cli access to the array (see alienraid.org).(I have not tried this before.)
    http://alienraid.org/article.php?story=xserveraidtools12&query=command
    You can issue a command to execute the RAID admin shutdown command.
    Put the master script into a unix cron job.
    macbook pro   Mac OS X (10.4.7)   typing this on a white box pc

  • How to address a specific time in VOD for iOS

    Using Flash and RTMP it's easy to go to a specific time in a VOD stream served from AMS using the seek method.
    Is there similar ability to seek to a specific time in VOD delivered to Safari on iOS?  The native video player provides a currentTime method, but I've not seen documentation anywhere to suggest currentTime or another method to provide rapid and accurate time based access from AMS.
    FWIW, Wowza documentation provides an answer:
    http://www.wowza.com/forums/content.php?326-How-to-specify-a-play-start-time-and-duration- for-HTTP-streaming
    TIA,
    RT

    Nitin, the link you provided is a bit better than nothing, but it refers to the AVPlayer object in applications, rather than iOS delivered data.  In our experience currentTime is a settable property for the native video player in mobile Safari, using a normal progressive uploaded stream, as the documentation shows:
    http://developer.apple.com/library/safari/#documentation/AudioVideo/Reference/HTMLMediaEle mentClassReference/HTMLMediaElement/HTMLMediaElement.html
    The question is "Are there browser based methods that seek AMS delivered streams more quickly or with better accuracy?" 
    Everyone is aware that mobile is exploding.  On some of our videocentric apps the share for iOS is approaching 20%.  PM Kevin Towes, what are you doing to accomodate this need???

  • How to automatically open and close an application at specific times?

    Hi,
    I am trying to figure out how to open and close an application at specific times.
    I have set iCal up to open it no problem...however, the application needs you to click yes before entering into it upon boot.
    How do I do this and close the app. I tried creating a workflow in automator, but iCal simply opens the workflow and does not play it. This also does not solve the issue of needing the 'yes' button to be clicked.
    Kind regards,

    Hi,
    I am trying to figure out how to open and close an application at specific times.
    I have set iCal up to open it no problem...however, the application needs you to click yes before entering into it upon boot.
    How do I do this and close the app. I tried creating a workflow in automator, but iCal simply opens the workflow and does not play it. This also does not solve the issue of needing the 'yes' button to be clicked.
    Kind regards,

  • Automatically open and quit app at specific times

    I want to open the DVD Player app at a specific time in the morning and have it play a DVD all day (it's looped). I then want the app to quit at a specific time at night. The computer will go to sleep from when the app quits until right before it opens (I have that part figured out).
    Can someone show me how to open and quit the app at specific times or point me somewhere where I can learn how to do this? I'm an AppleScript newbie, so explanations are grateful. I will be using a Mac Mini for this installation.
    Thanks!

    Use iCal alarms to run the following scripts:
    tell application "DVD Player" to run
    tell application "DVD Player" to quit
    Each line is a separate script.
    (25193)

  • How can I perform data logging for a specific time??

    hello everyone,
    I am quite new in labview and I have a basic question regarding data logging. Currently I am using a cRIO9074 and doing some data logging for my test. The data logging it self works ok so far.
    But my problem is I would like to write my datas in a text file either for a specific time interval (ex)10 seconds) or for a specific amounts of data (ex)500 Samples). Can anyone give me some help regarding my problem?? Attached you can find my RT.vi 
    I would appreciate for anyhelp!
    Regards
    Yun 
    Attachments:
    BP250 Encoder Position & Velocity (Host).vi ‏92 KB

    Run your loggging program for that time. When your program terminates then it will write all the logged data so far in text file.
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

Maybe you are looking for

  • ITunes 8 and ID3 Tags

    Hello good people of the board. I am getting a problem when using iTunes 8, every track I attempt to play starts for about 2 seconds and then hangs until the ID3 Tags have been written, I get a little box pop up and tell me this is happening but no w

  • Can I use any smart phone to play webcam flash game?

    I'd tried to use my smartphone ( Android 2.2 + Flash Player 10 ) to play some "webcam flash games" with blowser, but all failed, is anything necessary must downloaded to smartphone first? or any other system (for example, IE9? Windows Phone 7?) can m

  • Problem with OBPM Studio 10.3.2

    Hi all, I now have OBPM Studio 10.3.2 instead of 10.3.1. This new version indeed eliminates the loading part of presentations when you change a field. But now I have another problem with presentations. When I try to add a group with either Basic or C

  • More countries in New Subscription plan

    Hi guys, I just found out that the new Subscription plan now includes calling mobile in more countires such as Australia, but my unlimited World 12-months subscription purchased last September still does not include those new countries. My question i

  • Using playlists created with Winamp

    Hey all, I have a bunch of playlists that I created using Winamp, and it'd be awesome if I could also play them with iTunes. Problem is, when I import them into iTunes my library suddenly shows duplicates for each song that's in the play list. With m