How to create a job

Hi, I created a work that must run a stored procedure every 2 minutes...

but seems that its not working not

I can see the next run time, but I am unable to see the last run time.

How can I check if my work has been executed or not?

concerning
REDA

This is the sql code that was generated when I created the work in Toad


DECLARE
X NUMBER;
BEGIN
SYS. DBMS_JOB. Send
(
jobs = > X
, this = > 'refresh_target_mview ';
, next_date = > to_date (May 5, 2009 09:15:22 ',' dd/mm/yyyy hh24:mi:ss')
, interval = > 'SYSDATE + 2/1440'
, no_parse = > FALSE
);
: JobNumber: = to_char (X);
END;



Please suggest
concerning
REDA

Published by: raj_fresher on May 5, 2009 06:19

Raj,

It looks like you created the task since you have an upcoming date. But it doesn't, because you do not have a date of last.

What is the value of job_queue_processes on your database? It should be 0 > to perform tasks.
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/InitParams.htm#REFRN10077

If you are on > = 10g, you might want to watch dbms_scheduler because it is much, much more powerful and flexible than dbms_job.

Tags: Database

Similar Questions

  • How to create a job that e-mail with csv attached.

    Hello

    Could all help with that.

    I have a trigger that inserts (after changing the DLL) on the diagram at track_t, (table).

    Now, I put a job to convert track_t (table) to CSV data, daily...

    Then, I need to define a job to send the mail on a daily basis with the attached csv.

    set - trigger, procedue to send mail. But how to create a job to send a mail with csv generated

    8ff4363d-844d-49fd-87D1-2125143d11a8 wrote:

    Hello

    Could all help with that.

    I have a trigger that inserts (after changing the DLL) on the diagram at track_t, (table).

    Now, I put a job to convert track_t (table) to CSV data, daily...

    Then, I need to define a job to send the mail on a daily basis with the attached csv.

    set - trigger, procedue to send mail. But how to create a job to send a mail with csv generated

    DBMS_SCHEDULER

    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25788/d_sched.htm#ARPLS72235

  • How to create a job to clean the tables often?

    I need to remove rows from the table 1 time per week.
    How to create a job on the oracle?
    Tanks.

    Published by: J.V.O on 16/06/2010 06:37

    Create a stored procedure to perform the DML
    then predict and present work

    create or replace procedure Delete_Tab as
    begin
      your DML code here.....
    end;
    /
    declare
     myjob number
    begin
      dbms_job.submit
                          (myjob,
                          what => 'begin Delete_Tab ; end;',
                          next_date => to_date('06-16-2010 19:00:00', 'dd-mm-yyyy hh24:mi:ss'),
                          interval => 'TRUNC(NEXT_DAY(SYSDATE+7,''WEDNESDAY''))+19/24');
      commit;
    end;
    /
    

    your job will run every Wednesday evening 19:00

  • How to create a job in OEM and pre it?

    Hello
    in 10g of 2, I'm looking in the following documents:
    Concepts of Enterprise Manager and Oracle 2 day DBA Database

    http://download.Oracle.com/docs/CD/B19306_01/EM.102/b31949.PDF

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14196.PDF

    but I can't find any explanation for how to create a job and pre it.
    Where can I find?
    Thank you.

    What do you mean you can't find how to create a job? Go in the Administration tab, on your right, you will find a link called jobs. Click above and go forward.

    HTH
    Aman...

  • How to create a job through python scripts Manager

    We try to automate the entire deployment process. We have automated all other parties such as jdbc and jms creation, deployments of the ear. Please help me to create frameworks through python scripts.

    Hello

    Please refer to the money site, it can give you information about the Manager working python script.

    http://middlewaremagic.com/WebLogic/?p=2691

  • How to create a user-defined function?

    is there a substitute for the exe instsrv and srvany in Vista?

    I don't know what means your post, so here's how to create a user-defined function:
    1) click Start
    (2) select "Control Panel".
    (3) select "system and maintenance".
    4) click on "Administrative Tools".
    5) click on "Task Scheduler."
    (6) click on "create task" (right in the list pane under) "Actions") "
    "(7) opened in the general tab it will choose if it only works when the account that is used to implement is connected, or ' if that user is logged in or not" (leave the box ' do not store the... "empty password)
    (8) always in the general tab, check the box 'run with highest privileges '. (This will ensure that no program can block)
    (9) type a name for the task (in the general tab)
    (10) to set the job to run an awhile, use the "triggers" tab, if you want to set a task runs after xx min. temps_inactivite, choose the 'conditions' tab, then choose the desired time.
    (12) click on the 'actions' tab click on 'new '. in the program/script line, search for and select the program you want to run, and then click Open.
    13) click OK in the window "create a task".
    14) click OK again and you are done.
    I hope this helps.

  • How to create a recovery disc with all vista updates?

    original title: how to create a recovery disc with all vista updates without starting from scratch, so I can replace my hard drive?

    My hard drive seems to be dying.  I would replace the drive.  I reloaded vista from scratch with all the updates, but it took forever.  I would like to make a record of recovery with all updates.  IAM on vista Home premium.  32 bit

    If you want a good backup program that backups image, I recommend Acronis True Image 2010:http://www.acronis.com/homecomputing/products/trueimage/.  It offers a free trial, so you can test and if you want it's only about $30 for the original version.  A lot of people I know this program and use it instead of Vista even in versions of Vista that offers imagery as this program does a better job.  Of course you also need a place to put the backup (which will take a lot of space), so also consider.  The best choice would be a USB external hard drive at least as large as the readers you want to back up (not only the data on them, but the entire available disk space, so you miss when you add more information about the disks).

    You cannot use IMGBURN do - it can't do anything like that.  It must be the imagery of backup software.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to start a job using DBMS_SCHEDULER depending on the result of other JOBS

    How to start a job using DBMS_SCHEDULER depending on the result of other JOBS

    For example I have two jobs A and B of EMPLOYMENT, I would like to start JOB B only when a JOB is complete, is an option like that?

    Hello

    Yes, you can create a channel with the Scheduler, see the documentation:

    Creation and management of channels of employment

    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/scheduse.htm#ADMIN10021

  • How to create a Facebook profile in print photo?

    I don't understand exactly how to create a collage in the press that I can export in JPEG for a profile on Facebook. Nothing on Google YouTube who helped.  Any suggestions? Any help would be greatly appreciated. Thanks I use LR 6.

    You can find here free facebook timeline templates

    http://www.flourishphotog.com/Lightroom-template-index/

    I use them a lot!

    Download files > go to the print module > model browser [left] > user models

    > right click > Import...

    Then import the file you just downloaded

    For jpeg files > [right] down to "Print Job" > print > jpeg file

    Enjoy

  • How to create VMS of vapp model

    looking at the sample code in HellovCloud.cs, it shows how to create a VAPP model and which allows to create a paralytic, but can anyone provide an example of how select a model of VAPP existing and which allows to create a paralytic? If there are already examples of code, please point me to it. Thank you.

    Think I might have answered this in another thread for you - but in case others are looking...

    Hope this helps, by using the .NET SDK:

    Load the VCC you want to put TIME in

    VCC Vcc = Vdc.GetVdcByReference (customer, vdcReferenceUrl);

    Load the model you want to use

    Model VappTemplate = VappTemplate.GetVappTemplateByReference (customer, templateReferenceUrl);

    InstantiationParamsType instantiationParamsType = new InstantiationParamsType();

    InstantiateVAppTemplateParamsType = new InstantiateVAppTemplateParamsType stuff

    {
    AllEULAsAccepted = true,
    name = "the name of vapp",
    Source = model. Reference,
    deploy = true,
    Description = "description"
    InstantiationParams = instantiationParamsType,
    };
    Method to create he created... the app returned will not be usable for a while, but you can get the jobs for her and for the status of charging

    VAPP app = Vcc. InstantiateVappTemplate (stuff);

  • How to create a hot spot for a full browser image?

    I have a background image created in Photoshop in the browser padding, scale to fill.

    This is my landing page and would like to create an 'invisible' reactive or rectangle area to post a link to another page in my site when clicked.

    I did this and work, however, my problem is that when my browser size is expanded or reduced, the place where I want the area reactive to be changes in the size and location.

    I want to create a hotspot that will keep its form around my logo no matter the size of the screen.

    I tried this with a no bottom box and white outline to see how he responds to each fill property but may not know how to create a box to be in a fixed position that will always upward

    with the browser fill image location and size.

    Thanks for your help.

    Hello

    Have you tried to pin the box on the page so that it should be in a fixed position?

    Also if you want the box to be on a specific job with scrolling the page, then you can try using the scrolling of the effects that would scroll the page box but inside the defined positions.

    Thank you

    Sanjit

  • How to create the layer mask using ellipse (circle) to show the face of the watch only?

    just stuck - see how to get a job of layer mask using a brush, but can not get by with the help of an ellipse

    What I'm after is:

    * Start simple watch, with the face and band by photo

    * want to apply a layer, so the only thing I see the circular face of the watch (no tape etc.) and that the base is clear (alpha)

    May I ask what are the instructions step by step to achieve this goal by using layer masks & ellipse tool?  (i.e. not having to manually paint around the dial)

    Here's the original image:

    1. Make a copy of the background and work on this copy of background layer.
    2. Use the elliptical selection tool, hold down the SHIFT key to draw a circular selection:
    3. Select use (on the menu bar)... Transform the selection to move the selection, and drag the sides of the selection at the edges of the dial:
    4. After you click the green check mark, use the selection... Inverse to select all items except the dial of the watch and press your delete key to remove such things:
    5. Your layers look like this:

    Alternatively, if you want to use a mask, after step #3 hit the icon 'Mask' at the bottom of the Palette layers to create a mask layer automatically by using the selection:

    Ken

    Post edited by: photodrawken to add the alternative method of mask.

  • Major Newbie question - how to create a booklet of CD?

    Would someone kindly tell me how to create and print an 8-page booklet that fits well in a CD holder?

    I would like to print this booklet in color at home using 8.5 "X 11".

    Yes, dealing with a Major Newbie can be a pain...

    I really appreciate your patience and understanding.

    All the best,

    JS

    John,

    You are much more complicated that it should be. Documents of identity starts with a single right-hand page, because usually the readers see the first page all by itself (think of your booklet when closed) and the easy way to make your layout is in the same view that your readers will see. Booklet printing or script I think I mentioned earlier will be the last page next to the first and to organize the pages for printing so that they will be in the proper sequence for playback according to the booklet is assembled.

    If you really want to see the last page to the left of the first, there are two easy options. Either open the dialog box numbering and section options and change the starting number of the first page to something, like 2 (not necessarily very useful if you use the automatic numbering) or in the Pages panel menu uncheck the box 'Allow document pages Shuffle' and drag the page up next to the first.

    Don't forget, however, that for your book to be in the right order after printing, you need more than just move the last page next to the first. Given your difficulties with this project, I think a little visual exercise would be in order. Take a sheet of paper and the cut in half lengthwise for towing more long strips (you can use two sheets, but it will be closer to the size of your booklet). Assemble the two strips and stir into the narrow dimension on a booklet with 4 sheets. Number the pages in the order from the front to the rear, then disassemble the booklet and observe the positions of the pages. The fancy name for that is a model of folding, and it shows you where each page belongs (as well as any rotation, you will not need this job) on the larger sheet.

    You should see:

    8-1 / 2-7 on the first sheet

    6-3 / 4-5 on the second.

  • How to create a second Adobe PDF printer with different parameters?

    Hi all

    I know that it is possible to create copies more or less unlimited normal printers under Windows (XP SP2) which each have their own settings. Very useful for standard jobs that require special configurations.

    We want to use the same technique for the creation of PDF. Now, I'm wondering how to create a second Adobe PDF printer?

    I try to create a new printer on the printer port "my Documents\ * .pdf" which is used by the existing printer, but I wonder what driver to use. Unfortunately there is no Adobe entry in the list and I can not find manually, either.

    We are still on Acrobat 8 (Professional)

    Any tips?

    Thank you very much

    Mike

    The easiest way is to add a generic printer driver. Then enter the properties, change the name and set up the port and in the printer driver. Then edit the remaining properties. You may need to leave after selecting Properties and then open back for these properties took effect. If you are looking for using the PDF Maker printer you should change the name to Adobe PDF, and you can have one of these. For use as a printer, then the other name will work fine.

    It's been a while since I've done this type of addition, but it worked when I did it.

  • How to create a PDF/X1a on a Mac? (with or without iWork)

    Hi all
    I don't have an idea what is a "PDF/X1a.
    I know how to create or convert PDF files on a mac, with the Preview app and the iWork.

    But a "PDF/X1a? What is c?

    Anyone know how to create or convert a "PDFX/X1a?

    Thanks to you all.

    Here is an explanation:

    https://www.prepressure.com/PDF/basics/PDFX-1A

    Frankly, I didn't know there are different "flavors". I create .pdf for years without knowing or worry about this. I just use an excerpt:

    Or, if you are in a document Pages (iWork as long that is not really exist anymore - there are separate applications: Pages, Numbers, Keynote), use the export as PDF option.

    Have never heard of someone that they were not able to read the PDF, I sent as an attachment.

Maybe you are looking for

  • No option to change the password for Gmail/Yahoo mail

    Updated for Sierra and want to change your Gmail and Yahoo mail password, but the interface has changed and I don't see any option for their setting in preferences/Server Mail or Internet accounts settings. What is going on?

  • Use hp 7 android on ubuntu 14.04 development more

    Hello I want to use my hp 7 more development android on ubuntu 14.04. When I plug it via usb, adb does not recognize the device (it is not listed with others after "adb devices-l"). I think I need to add the seller details to etc/udev/rules.d/51-andr

  • Satellite 1900 cannot conect directly to the modem via Ethernet cable

    I have a Satellite 1900 305 and I can't access internet when it connects directly to the modem cable via ethernet (RJ45), even after doing the procedure of recovery, and before I could. I can work normally and have internet if I connect to the pit of

  • Requirements 1.1 gateway cannot detect images in a word document

    Dear developers, The following problem occurred, while I was with gateway 1.1 requirements (Build 586)-> I inserted pictures in several formats in an exmple word file, but there was no sign of them in one of the views. The type of default 'word' has

  • 9 connections

    When I have more connections then 9 per VISA SERIES, the application crashes with an occupancy of 100% of the CPU. Each VI read a Nport 5110 at a frequency of 1 Hz, baud rate is set to 19200, with tank only to enable the termination, no flow control.