How to create this type of job ?

Hi ,
I need to create a particular job that runs only betwn 7 - 10 am and for every 10th minute i.e 7:10 , 7:20 ... 9:50 etc ..
how can i do that ?
pls advise
tks & rgds

hi,
i tried submit the following job to test out but it failed :
variable j number;
begin
dbms_job.submit( :j, 'null;', sysdate , 'Chk_CSP_6am_9am_fn(sysdate)');
end;
error :
ORA-00905: missing keyword
ORA-06512: at "SYS.DBMS_JOB", line 57
ORA-06512: at "SYS.DBMS_JOB", line 129
ORA-06512: at line 2
j
my function :
create or replace function Chk_CSP_6am_9am_fn(p_date in date) return date as
  i_now      date default trunc(p_date, 'HH24');
  i_min      date default trunc(p_date, 'MI');
  i_nextdate date;
begin
  execute immediate 'select case when i_now between 13 and 14 then i_min + 10/60/24
                          else trunc(SYSDATE + 1) + 13/24
                       from dual '   into i_nextdate;
  return i_nextdate;
end;what the function is doing is to check if the time is now betwn 1pm to 2pm every 10 minutes it will run else next day's 1pm
pls advise
tks & rgds

Similar Messages

  • How to create this type of cursive font?

    Is this done with brushes?
    What would be the best way to create this type of handwritten look?
    thanks

    You could use an art brush to assign ink stroke like these to a line.
    Create a brush type shape that's in a straight horizontal line with the desired beginning, end and edges.
    Then Brushes > New Brush > Art Brush will create an art brush. (whilst the shape is selected)
    With just one brush you will be quite limited, but with a selection of brushes generated in this way you can create a selection of brushes to deal with the various requirements of building a brush font that has some integrity.
    You will find that despite automating the brush process to an extent, that to create lettering like you examples, you will have to make a lot of tweaks.

  • How to create this type of Form?

    Hello ,
    I'm new to java so I would like a hint from experts on how to create such a form :
    A form that displays Customer's Codes and their name from Oracle database , so that they appear in the form as a list of 2 columns , what kind of compnents I should use to display this kind of data ? JTextField ? I dont think so .... . And also I would like to highlight each other line so that the list looks good , then at the top of the list I want a filter so that the data is filtered each time I enter a character . The last thing is how to make the data displayed have the ability to be dragged to another form in the application so that it fills the corresponding fields relative to the data dragged ?
    Too much ha? . Please just provide hints/ideas about each point as I know it can be time consuming to give details about all this.
    Thanks in advance...

    Thank you , I tried with this code to achieve what I wanted but I get no result .
    Can you please tell me whats wrong with this code ?
    package desktopapplication1;
    import java.sql.*;
    import javax.swing.*;
    import java.awt.*;
    public class MainOMSWindow extends JPanel{
        public MainOMSWindow ()
            super(new GridLayout(1,0));
    JTable customerListTable = new JTable();
    customerListTable.setPreferredScrollableViewportSize(new Dimension(500, 70));
    customerListTable.setFillsViewportHeight(true);//to make the table uses the entire height of the container
        JScrollPane pane = new JScrollPane(customerListTable);
        add(pane);
        populateTable(customerListTable);
        private static Connection getConnection()
        Connection con = null;
         try
            String driverName = "oracle.jdbc.driver.OracleDriver";
            Class.forName(driverName);   //registering JDBC Driver
            String serverName = "localhost";
            String portNumber = "1521";
            String sid = "mydb";
            //jdbc:oracle:thin:@localhost:1521:ahmaddb
            String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
            String user = "fundinfo";
            String pw = "tadapps";
            con = DriverManager.getConnection(url, user, pw);
         catch (ClassNotFoundException e) {
                                        System.out.println(e.getMessage());
                                        System.out.println(e.getStackTrace());
                                        System.out.println(e.getCause());
                                        System.out.println(e.getException());
                                        System.exit(0);
         catch (SQLException e) {
                                  System.out.println(e.getMessage());
                                  System.exit(0);
        return con;
        private static ResultSet useConnAndGetData()
            Connection con = getConnection();
        try
             Statement stmt = con.createStatement();
             String select = "select title,year,price from movie order by year";
             ResultSet rows = stmt.executeQuery(select);
             return rows;
        catch(SQLException e) {
                 System.out.println(e.getMessage());
            return null;
        private static void populateTable(JTable table)
            try{
        ResultSet rs = useConnAndGetData();
        while(rs.next())
    public void setValueAt(object value, int row, int column)
    •Value: The new value to be placed in the cell
    •row: The row in the JTable to be changed
    •column: The column in the JTable to be changed
    * rows and columns start at the number "0", not "1".
    * Notice that the first column in a result set is column "1".
         int row = 0;
         table.setValueAt(rs.getString("title"),row,0);
         table.setValueAt(rs.getInt("year"),row,1);
         table.setValueAt(rs.getDouble("price"),row,2);
         row++;
            catch(SQLException e)
             System.out.println(e.getMessage());
            private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("OMS");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            MainOMSWindow newContentPane = new MainOMSWindow();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main (String [] args){
        createAndShowGUI();
    }The programe throws this :
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
            at java.util.Vector.elementAt(Vector.java:427)
            at javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:277)
            at javax.swing.JTable.convertColumnIndexToModel(JTable.java:2553)
            at javax.swing.JTable.setValueAt(JTable.java:2719)
            at desktopapplication1.MainOMSWindow.populateTable(MainOMSWindow.java:99)
            at desktopapplication1.MainOMSWindow.<init>(MainOMSWindow.java:24)
            at desktopapplication1.MainOMSWindow.createAndShowGUI(MainOMSWindow.java:119)
            at desktopapplication1.MainOMSWindow.main(MainOMSWindow.java:130)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 1 second)

  • How to create this type of pop up?

    Hi Sorry if this has been asked before I have not been using
    Dreamweaver for a long time so pretty outdated with it and now I am
    trying to create a photo page similar to this website
    http://yumsa.ca/club/photos
    I really have no idea what this behaviour is called if
    someone can reference some tutorials on the web would really
    appreaciate it.
    Regards
    Tony

    It can be done. See for example
    http://www.kolkinphotography.com/portfolio/default.cfm
    - look at the 'about
    the series' links. These were hand-made in DW using the
    SetText behavior.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "fxgoddess" <[email protected]> wrote in
    message
    news:gjuae3$7u2$[email protected]..
    > Hi--
    >
    > I am also interested in the light box type of effect,
    but not for images.
    > I
    > would love to have a text link pop up like the lightbox
    does, but then
    > contain
    > text, as well as an image.
    >
    > Any ideas here?
    >
    > Thanks!
    >

  • How to create this type effect within Appearance palette?

    What would be the easiest way to set a lot of type in this style?
    Currently I have it all set as type (not outlined) and have the Rise Warp effect applied from the Appearance tab as well as a Drop Shadow. However, with this method I have to go in manually with the pen tool to keep it from looking like this:
    I'll be needing to make a number of titles in this style and I'm looking for the quickest way to do it. Any advice? Thanks.
    Edit: Bonus points for achieving this look in InDesign!

    rjsakai wrote:
    Edit: Bonus points for achieving this look in InDesign!
    http://forums.adobe.com/message/2129576
    (although it's merely a proof-of-concept -- I'd stick to using Illustrator for these sorts of manipulations).

  • Can anyone explain how to create this effect in Deamweaver and Fireworks?

    This site was oriinally done in dreamweaver - but the shadow
    effect was done
    outside of Dreamweaver. When I save to html and load into
    Dreamweaver it
    makes no sense to me.
    Can anyone explain how to create this effect in Deamweaver
    and Fireworks?
    http://www.fundflowsystems.com/test.php
    Thanks in advance,
    Joe

    Thank you so much...
    You is da bomb!
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > Yes - a blank (completely blank) page.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Ken Binney" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> Murray, one more favor if you would be so kind...
    >> Do you recall how this page degraded in Safari?
    >>
    >>
    http://www.binney.us/table-allcode.htm
    >>
    >>
    >> "Murray *ACE*"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Nope. Sorry. You need a Mac.
    >>>
    >>> --
    >>> Murray --- ICQ 71997575
    >>> Adobe Community Expert
    >>> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >>> ==================
    >>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>> ==================
    >>>
    >>>
    >>> "Ken Binney"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> Thanks Murray...
    >>>>
    >>>> Is there a way I can test for Safari on my
    PC XP ?
    >>>>
    >>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> Fails in Safari, Ken.
    >>>>>
    >>>>> --
    >>>>> Murray --- ICQ 71997575
    >>>>> Adobe Community Expert
    >>>>> (If you *MUST* email me, don't LAUGH
    when you do so!)
    >>>>> ==================
    >>>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>>> ==================
    >>>>>
    >>>>>
    >>>>> "Ken Binney"
    <[email protected]> wrote in message
    >>>>>
    news:[email protected]...
    >>>>>> Here is a solution requiring NO
    images.
    >>>>>> The CSS and the Javascript can
    easily made remote the page
    >>>>>>
    >>>>>> <!DOCTYPE HTML PUBLIC
    "-//W3C//DTD HTML 4.01 Transitional//EN"
    >>>>>> "
    http://www.w3.org/TR/html4/loose.dtd">
    >>>>>> <html>
    >>>>>> <head>
    >>>>>> <title>Shadow</title>
    >>>>>> <meta http-equiv="Content-Type"
    content="text/html;
    >>>>>> charset=iso-8859-1">
    >>>>>> <script
    type="text/javascript">
    >>>>>> var depth = 6 // in pixels
    >>>>>>
    >>>>>> // addLoadEvent t
    >>>>>> function addLoadEvent(func) {
    >>>>>> var oldonload = window.onload;
    >>>>>> if (typeof window.onload !=
    'function') {
    >>>>>> window.onload = func;
    >>>>>> } else {
    >>>>>> window.onload = function() {
    >>>>>> if (oldonload) {
    >>>>>> oldonload();
    >>>>>> }
    >>>>>> func();
    >>>>>> }
    >>>>>> }
    >>>>>> }
    >>>>>>
    >>>>>> addLoadEvent(function() {
    >>>>>>
    >>>>>> var a = document.all ? document.all
    >>>>>> document.getElementsByTagName('*');
    >>>>>> for (var i = 0;i < a.length;i++)
    >>>>>> if (a
    .className == "shadow") {
    >>>>>> for (x = 0;x < depth;x++) {
    >>>>>> var newSd =
    document.createElement("DIV")
    >>>>>> newSd.className = "shadow2"
    >>>>>> newSd.style.background = a.id
    >>>>>> newSd.style.width = a
    .offsetWidth + "px"
    >>>>>> newSd.style.height =
    a.offsetHeight + "px"
    >>>>>> newSd.style.left = a
    .offsetLeft + x + "px"
    >>>>>> newSd.style.top = a.offsetTop +
    x + "px"
    >>>>>> document.body.appendChild(newSd)
    >>>>>> }
    >>>>>> }
    >>>>>> }
    >>>>>> }
    >>>>>> );
    >>>>>>
    >>>>>> </script>
    >>>>>> <style>
    >>>>>> .shadow {
    >>>>>> border: 1px solid silver;
    >>>>>> padding: 2px;
    >>>>>> font: 10pt arial;
    >>>>>> position: relative;
    >>>>>> display: inline;
    >>>>>> background: white;
    >>>>>> z-index: 100
    >>>>>> }
    >>>>>> .shadow2 {
    >>>>>> overflow: hidden;
    >>>>>> position: absolute;
    >>>>>> filter: alpha(Opacity=15); /* modify
    to change the shade
    >>>>>> solidity/opacity, same as below */
    >>>>>> opacity: 0.1; /* firefox 1.5 opacity
    >>>>>> -moz-opacity: 0.2; /* mozilla
    opacity */
    >>>>>> -khtml-opacity: 0.1; /* opacity */
    >>>>>> z-index: 10
    >>>>>> }
    >>>>>> </style>
    >>>>>>
    >>>>>> </head>
    >>>>>>
    >>>>>> <body>
    >>>>>> <table width="800" border="0"
    align="center" cellpadding="0"
    >>>>>> cellspacing="0" class="shadow"
    id="#000000">
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> </table>
    >>>>>> </body>
    >>>>>> </html>
    >>>>>>
    >>>>>>
    >>>>>>
    >>>>>> "Joe"
    <[email protected]> wrote in message
    >>>>>>
    news:[email protected]...
    >>>>>>>
    >>>>>>> This site was oriinally done in
    dreamweaver - but the shadow effect
    >>>>>>> was done outside of Dreamweaver.
    When I save to html and load into
    >>>>>>> Dreamweaver it makes no sense to
    me.
    >>>>>>>
    >>>>>>> Can anyone explain how to create
    this effect in Deamweaver and
    >>>>>>> Fireworks?
    >>>>>>>
    >>>>>>>
    http://www.fundflowsystems.com/test.php
    >>>>>>>
    >>>>>>> Thanks in advance,
    >>>>>>>
    >>>>>>> Joe
    >>>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • How to create this Hieararchical Tree?

    Hi All,
    Please help me on this issue.
    I need DRILL DOWN functionality in forms. Im trying to Study / Create Hierarchi Tree Concept in Forms 6i, but couldn't able to manage /Understand how to create this. Please any one could help me. and im giving my scenario also here, whether it can support or not.
    Our routes having lot of terminals, like Our Bus travels from KENYA to SOUTH AFRICA passing TANZANIA,ZAMBIA,MALAWI,BOTSWANA countries. so i need the No of records to be dynamic i cant fix 10 records and scroll etc, Rather im trying to use Heirarchi Trees to achive this.
    My Table is like this.
    Table #1 Route_quotas
    Route_no,terminal_name,quota_station_from,quota_station_to,no_of_seats,seat_no_start_from,seat_no_ending
    Data is Like this:
    1,GNT,GNT,HYD,10,1,10
    1,GNT,GNT,VJA,40,11,50
    1,VJA,VJA,KDD,10,11,20
    1,VJA,VJA,HYD,30,21,50
    I need data to be displayed / functoned like this. If One select Route_no 1 in a List_item. Down to that i should show which terminals having quotas in this route. those are.
    GNT
    VJA
    Next ... If One selects this node like if one Expands GNT node the sub nodes should be like this having three coulmns (i.e quota_station_from,quota_station_to,no_of_seats columns)
    GNT HYD 10
    GNT VJA 40
    Next again.. if One select the first subnode it should give ...the seat Nos
    1,2,3,4,5,6,7,8,9,10 (please Omit the commas) and from there i should be able to select one seat_no and do some actions based on that. like RESERVE or ISSUE what ever i like. i need that Seat_no value.
    GNT
    ........GNT HYD 10
    ................ 1 2 3 4 5 6 7 8 9 10
    ........GNT VJA 40
    ................11 12 13 14 15....50
    VJA
    ........VJA KDD 10
    ................11 12 13 14 15 16 17 18 19 20
    ........VJA HYD 30
    ................21 22 23 24 ...... 50
    Thanks in advance.

    Rama,
    I would use nested PLSQL cursors to populate a record group and create the tree from there. This way you can also concatinate multiple values to show as a single name in a tree.
    Frank

  • How to create a 2-color job in PageMaker?

    how to create a 2-color job in PageMaker?

    You need to set up a job with two inks. I would advise that you check with your printer before starting.
    In pagemaker you need to set up your colors. If you are using black as one of your colors you don't need to do anything for that, but the other spot colors need to be loaded up from the colors pallete. Everthing in your page maker documents needs to be only those two colors. You can check your document by printing to separations, where pagemaker prints all of the individual colors in the document. Two color images can be placed from Photoshop or Illustrator (they need to be saved as eps files), but they need to have the exact same colors as the pagemaker document. If the color names are even slightly off then it will show up as a different colors in pagemakers color pallete.
    Jay

  • How to create a type

    hi,
    can anybody tell me how to create a type where in we can execute a procedure, every time we call it.

    Hello,
    What is your exact product version ?
    Are you sure there is any relation woith the Oracle Forms product ?
    Francois

  • How to create SCD2 type manually in informatica?

    Please Can you describe with example how to create SCD2 type manually in infromatica?

    Hi Manoj,
    You should not delete the auto generated orchestration even do not modify it, as it is stated in msdn.
    The BizTalk WCF Service Consuming Wizard creates in your BizTalk project the BizTalk schemas and types necessary to consume WCF services. The BizTalk types such as port types and multipart message types are created in an orchestration. We recommend
    that you do not modify the orchestration that the wizard creates. Instead, you can add new orchestrations in the BizTalk project for your purposes.
    --------- MSDN
    For Refernce
    In your solution, if you are seperating your schemas project from orchestration project, in that case i personally advise to generate wcf endpoint in your schema project and after adding schema reference in orchestration
    project you manually create the multipart message and a request response port as it will not display in existing port.
    Regards

  • How to create Activity type

    How to create Activity type
    below are the details
    x sales MnF Expenses
    y FMS MnF Expenses

    dear sudhir
    KA01 - Create Primary Cost Element for the new activities type.
    KL01 - Create Activity Type tied to the primary cost element.
    regards
    rohit

  • How to create this cool navigation bar in CS5 Dreamweaver

    Dear All,
    Can somebody please walk me through how to create this cool navigation bar?
    Please see the link below:
    http://www.viesso.com/viesso/home.php
    Thank you for all your help!
    I am designing my own website and I stuck at the beginning...
    Agi

    You can either use CSS to style the SpryMenuBar or there are commercially available options like Project Seven's Pop Menu Magic: http://www.projectseven.com/products/menusystems/pmm2/index.htm .  If you have the money I personally recommend the latter of the two, but you can easily style the Spry menu as well.

  • [b]How to create this Custom Table on Custom Schema with foreign key [/b]

    This Custom Table is create in Custom Schema and Refers to Seeded Table in APPS schema
    1 create table test_dff (test_id number(15) primary key,
    2* invoice_id number(15) constraint ap_test_fk REFERENCES ap_invoices_all(invoice_id) ON DELETE CASCADE)
    SQL> /
    invoice_id number(15) constraint ap_test_fk REFERENCES ap_invoices_all(invoice_id) ON DELETE CASCADE
    ERROR at line 2:
    ORA-02270: no matching unique or primary key for this column-list
    How to create this Custom Table on Custom Schema
    thanks in advance

    hi prashant
    sorry for replying late, i have checked your query and it gives me no rows, but if i check for user_cons_columns it gives me no rows either in APPS Schema, but in AP schema it gives me
    SQL> SELECT * FROM user_cons_columns WHERE table_name = 'AP_INVOICES_ALL';
    OWNER CONSTRAINT_NAME TABLE_NAME
    COLUMN_NAME
    POSITION
    AP SYS_C008177 AP_INVOICES_ALL
    INVOICE_ID
    SQL> SELECT constraint_name, constraint_type FROM user_constraints WHERE table_name = 'AP_INVOICES_A
    LL';
    CONSTRAINT_NAME C
    SYS_C008177 C
    SYS_C008178 C
    SYS_C008179 C
    SYS_C008180 C
    SYS_C008181 C
    SYS_C008182 C
    SYS_C008183 C
    SYS_C008184 C
    SYS_C008185 C
    SYS_C008187 C
    SYS_C008189 C
    SYS_C008191 C
    and since this is a combination of Unique and Not Null Constraints , i am getting the same issue. do u have any solution to make the Detail table records to delete without using Alerts/DB Triggers?
    thanks for your time .
    abdul rahman

  • How to add this type of effect in photoshop plugin

    How to add this type of effect in photoshop by plugin

    Well, if that's the best you can do in describing what you consider an "effect" in this image, it will take a mind reader or clairvoyant to figure it out. 
    All I see is a guy that looks a lot like the infamous sex-slave-and-women-trafficker Saban Baran, possibly wearing a rug on his usually bald shaven head.
    http://tinyurl.com/jw5lmzy
    If it's someone else and that is real hair, then someone may have selected the hair in Photoshop and applied a tiny bit of the Oil Filter on it.  The Oil Filter has been removed from the newest versions of Photoshop.

  • How to create output type for GR,GI?

    Can any one explain,How to create output type for Goods Receipt,Goods Issue.?
    and How to take print out for both?

    Hi, jayant in standard u have output type for picking list, delivery doc complete, theres no output type seperately for PGI or PGR
    I am sure u need the help of tech guy to create the new output type for ur requirement
    regards
    giri

Maybe you are looking for