How can i run one procedure at the fix time every day?

Hi.
I write a procedure.it can open a text file.Now, I'd like run it every day at 24:00.
How can i do that?
thanks alot.

and on the other, other hand. If you are using Oracle, schedule it in the Oracle job queue. Look into the DBMS_JOB package (DBMS_JOB.SUBMIT more specifically).
something like this would work:
variable jobno number;
variable instno number;
begin
select instance_number into :instno from v$instance;
dbms_job.submit(:jobno, 'statspack.snap;', trunc(sysdate+1), 'trunc(SYSDATE+1)', TRUE, :
instno);
commit;
end;
That would schedule it at midnight I believe.

Similar Messages

  • How can I run  other applications at the same time as downloading email

    When I open my computer if I check mail on entourage first and there are 30+ messages I can not use other apps at the same time as the mail is downloading, is there a way to have email operating in the background. Curiously if I am using another application and a mail comes in , the first app runs with mail running in the background , Why is this not the case when Entourage is the first program running and it is downloading mail.

    http://www.officeformac.com/ProductForums/Entourage/ Alternatively, don't launch it at login, launch it after logging in.

  • I have two Apple ID, how can I delete one and use the email address associates to the main one?

    I have two Apple ID, how can I delete one and use the email address associates to the main one?

    If you abandon one of the Apple IDs you will also basically be abandoning any content that you have acquired with that Apple ID. Content can only be updated and re-downloaded with the Apple ID that was used to buy it. Apple will not combine the content of Apple IDs and Apple will not transfer the content from one Apple ID to another Apple ID.

  • How can I change one section of the document to a landscape orientation and not the whole document?

    How can I change one section of the document to a landscape orientation and not the whole document?

    Page Setup, including page orientation, is done in the File menu. The setting applies to the whole document. As Peter says, you can rotate the contents of a page (not including the text layer of a word processing document).
    As an alternative, you could use Numbers, where Sheets are empty canvases onto which you may place images, charts, tables and text boxes, and where page orientation may be set for individual Sheets. The main tradeoff is that you lose many of the built-in word processing and page layout features of Pages.
    Regards,
    Barry

  • How can I scroll one full page at a time using the mouse wheel?

    I've had this problem for 3 years now. When I nudge my scroll wheel (IntelliMouse Optical) one notch forward or back, Safari moves 1/4 of a page up or down. How can I get one nudge of the scroll wheel to move one full page up or down? Firefox has an add-on, SmoothWheel, that can be set to a full page. Are there any options for doing this in Safari, without having to go to the keyboard? I tried Smart Wheel, no setting for that.
    Any ideas? thanks
    p.s. Please don't tell me to get another mouse, I've tried dozens of them and the old IntelliMouse Optical is the best one for me. (I'm also stuck on an ancient Apple M2980 keyboard. I love those old keyboards.)
    Mac Pro 2X-Quad-Core Intel Xeon 2.8 GHz  MA970LL/A
      OS X 10.8.3
      Memory: 10 GB
      ATI Radeon HD 2600 XT
    Safari 6.03

    I can't use the keyboard to scroll. I need to keep my hand on the mouse, otherwise I'd never get anything done. Since I have no problem getting Firefox to scroll one page at a time, and I'm constantly jumping between 3 browsers, it would be nice to be able to scroll a full page at a time in Safari, just like I can in Firefox. Thanks.

  • In Elements 7.0, how can I delete multiple photos at the same time?

    In Adobe Photoshop Elements 7.0, how can I delete multiple photos at the same time?   Please be a little specific so I can follow your instructions as I'm not real smart at computers; I'm an intermediate user.  Thank you.

    Shift-click the photos or Ctrl-click them to select them, then right-click one of them and choose Delete from Catalog. They will all go together.

  • How can I visualize 2 documents at the same time

    How can I visualize 2 documents at the same time?
    thanks

    Adobe Reader on mobile devices allows to view ONE document at a time.

  • How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??

    How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??
    == This happened ==
    Every time Firefox opened

    Firefox can have multiple home pages if you wish. Each home page that will open when starting Firefox is separated by the "|" character.
    See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    To have new tabs open a specific web site, add one of the following extensions:
    http://sogame.awardspace.com/newtaburl/
    https://addons.mozilla.org/en-US/firefox/addon/777

  • Can i run two widgets at the same time on the same page?

    Can i run two widgets at the same time on the same page?
    Hi
    I have created and published 4 free ibooks and i would to run two widgets
    - a countdown clock
    - a review test
    at the same time on the page. Can i do that?
    Thanks in advance
    Haris

    thanks for your answer. Yes indeed HTML widgets run only full screen (snif snif). I consider this as a "distinguishing treatment".
    One solution  i read !!!!! was to create through keynote a countdown clock, to export to quicktime move and to imported at iBA predefined widgets. of course this is not the solution i need.
    So, in order to have at the same widget and run together a count down clock and a preview test (20 questions)  i must
    1)"hack" the preview widget and insert a countdown clock
    2) create a preview test using iAD.....
    thanks again
    haris

  • TS4020 I live in a house with multiple iCloud users.  When they try to turn on "Find my computer"  they get the message that they will have to disable my "find my computer" setting in order to enable theirs.  How can they all be enabled at the same time?

    I live in a house with multiple iCloud users.  When they try to turn on "Find my computer"  they get the message that they will have to disable my "find my computer" setting in order to enable theirs.  How can they all be enabled at the same time?

    Try this support document for information on how to contact Apple and account security. Apple ID: Contacting Apple for help with Apple ID account security

  • My Apple ID and rescue email are reversed. How can I change them both at the same time

    My Apple ID and rescue email are reversed. How can I change them both at the same time?

    I'd already used this standard tool (exhaustively!), but for the problem encountered it operated in Catch 22 mode - you had to do two things but neither order was permitted. I did find an answer eventually, but am not sure what it was I did that solved it! Thanks, anyway.

  • On I-Mac, how can I close all tabs at the same time?

    On I-Mac, how can I close all tabs at the same time?
    I use Mozilla Firefox for internet.

    Not an Apple product, have you visited:
    https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-qu ickly

  • Get error message that skype has problem loading when computer is turned on the first time every day. this started when the latest firefox v6.0 was downloaded.

    get error message that skype has problem loading when computer is turned on the first time every day. this started when the latest firefox v6.0 was downloaded.

    ''mbratlie [[#question-1055011|said]]''
    <blockquote>
    It was working fine and I had no problems, and then one day I tried opening a window and it froze. When I tried quiting the program my whole window went black. The x to the close the window doesn't work. The only option I have in my tool bar is Firefox and nothing happens when I try to quit firefox. Every time I try to shut down my computer Firefox prevents it. I haven't updated Firefox yet, so it's an older program, but only by a month or two. What's going on and how do I fix it?
    </blockquote>
    This is the first time it's ever happened. I downloaded the new operating system for Firefox but I can't install it until the Firefox currently running on my laptop quits, which it won't.

  • Macbook slows down at the same time every day.

    I know this makes me sound crazy, but my Macbook (running Mac OS X) starts to get inexplicably sluggish at the same time every day – roughly between 4:30 and 5 p.m. Applications start temporarily freezing up and I get that beachball-looking thing, and I have to force quit applications because they won't quit normally. I have McAffee virus protection through my school and a full scan reveals nothing. I also have the latest security updates.
    The applications I run on a given day are pretty typical: Chrome, Acrobat, Dropbox, Twitter desktop and Word. I never download any unauthorized software or shady files. No idea what it could be, but it is not just in my head. Any educated guesses?

    Is the McAffee anti virus set to scan automaticaly around 4:30 -5:00?
    .....you might want to open Activity Monitor and check what apps are running and check their CPU usage.......sounds like something is running in the background.....

  • How can i call a procedure from the app

    hi
    i have an establish connection to a database (MS SQL SERVER 2000) , i can get data from the tabels by sql statments.
    i have stored procedure in the database , how dan i run procedure with parameters from the app.
    lets say i have one procedure that takes one parameter "city_name"
    procedure delete_city ( @city_name char(100) )
    how can i run it
    thanks ahead
    johny

    Hi,
    Assuming con is the connection object:
    Assuming city_name is the name of the city to be passed to the stored proceduer
    Step 1: Create a callable statement object e.g. CallableStatement cs = con.preparecall("{delete_city(?)}");
    Step 2: Set the IN paramter of the stored procedure e.g. cs.setString(1, city_name);
    Step 3: Execute the callable statement e.g. ResultSet rs = cStat.executeQuery(); //assuming only one resultset is returned by your stored procedure
    Step 4: Process the resultset as you do for getting data from your other sql statements.
    This is a very basic way to execute a stored procedure. The complexity lies in executing stored procedures :
    1) which return a value
    2) which will result in multiple result sets
    3) having IN, OUT and INOUT parameters
    4) a combination of any or all of the above
    I would suggest you look up the JDBC API to get more details.
    Regards,
    bazooka

Maybe you are looking for

  • Error while activating Infocube

    Following error while activating after creating new Infocube: No active nametab exists for /BIC/DDPCW14DFD1      Termination due to inconsistencies      Table /BIC/DDPCW14DFD1 (Statements could not be generated)      Enhancement category for table mi

  • Can I get a refund for music I didn't want

    I clicked on an album I didn't want and how do I get a refund or return?

  • Firefox 4 for Mac is slow and Java doesn't work. How do I go back to 3?

    I dropped version 4 because it slowed my entire computer. there was a constant network load whenever firefox was on. I couldn't use any Java apps like Webex. I couldn't even use your site. I have to send this comment using safari because it waould ta

  • How to show the internal batch number for order in make to order scenario

    Hi !!! Gurus!! I am working on make to order scenario .For delivery of order may I see the batch no.of esch order. How system will get the internal number batch. I have config. batch management. What should be the next process. Regards, Nitin

  • I didn't receive an order (online Apple Store)

    Hello, I ordered 20 days ago the "Refresh Duo Tech Kit (TECHLINK)" on the French online Apple Store. The ETA was for the 14 october and I did received the confirmation e-mail. Who should I contact to get this fixed? Thank you. Hugo.