To send in 2 min once

Hi friends,
i have a below code which will run the package that im invoking it_check_overdue_issues.email_overdue in that job, will execute that package once in a day. i want to execute that package in a job for every 2 min. for that how i can alter the interval
Currently for executing the package once in a day i have given the interval as *(TRUNC(SYSDATE)+(25/24))*
for every *2 min or 5 min or 10 min* how i can set the interval accordingly.
DECLARE
    jobno number;
BEGIN
    DBMS_JOB.SUBMIT(
        job => jobno,
        what => 'BEGIN it_check_overdue_issues.email_overdue; END;',
        next_date => SYSDATE,
        interval => TRUNC(SYSDATE)+(25/24));
    COMMIT;
END;
/Regards,
Mini

try this...
DECLARE
    jobno number;
BEGIN
    DBMS_JOB.SUBMIT(
        job => jobno,
        what => 'BEGIN it_check_overdue_issues.email_overdue; END;',
        next_date => SYSDATE,
        interval => SYSDATE + (2/1440));
    COMMIT;
END;

Similar Messages

  • E-mail via Workflow task is not send they say aprox once a month

    Hi there
    I am asked to check one system with a “workflow” running 2+ years. It is actually an task with method which sends an e-mail when Purchase requisition is created.
    It istriggered by event in user exit(via function).
    The version is IS oil 4.6C.
    The problem is that e-mail is not send they say aprox once a month (which I personaly do not believe). However I have to do something (and explain what could be the reason).
    What would be your idea to do?
    I have in mind to subtye BUS2081 to e.g zz BUS2081 and then delegate bus2081 system wide(which is not done (but I think this will not solve the problem).
    In addition all technical details:
    I created event  ZCREATED for object ZABUS2105 (done as copy of BUS2105) in user exit MEREQ001 (EXIT_SAPLMEREQ_008) while creating purchase requisition via z transaction me51n and my colleague added this function in MV45AFZZ(while creating purchase order from sales order).
    CLEAR EVENT_CONTAINER. REFRESH EVENT_CONTAINER.
    i_banfn = IM_BANFN_NEW.
    CALL FUNCTION 'SWE_EVENT_CREATE'
           EXPORTING
                OBJTYPE           = 'ZABUS2105'
                OBJKEY            = i_banfn
                EVENT             = 'ZCREATED'
                          creator           = sy-uname
           TABLES
                EVENT_CONTAINER   = EVENT_CONTAINER
    This event triggers workflow task TS92000018
    Task TS92000018 is a  background task and has  atribute »general task« . Metoda (program) is:
    BEGIN_METHOD ZWF_SEND CHANGING CONTAINER. 
       call function 'ZWF_SEND_MAIL7XX'      
          Exporting                        
           banfn = OBJECT-KEY-NUMBER.                                                                               
    END_METHOD.
    Function Z_SEND_MAIL7XX:
    FUNCTION ZWF_SEND_MAIL7XX.
    ""Local interface:
    *"       IMPORTING
    *"             REFERENCE(BANFN) TYPE  BANFN OPTIONAL
    *"             REFERENCE(STATUS) DEFAULT 1
      DATA: reclist   TYPE STANDARD TABLE OF somlreci1  WITH HEADER LINE,
            objtxt    TYPE STANDARD TABLE OF solisti1   WITH HEADER LINE,
            objpack   TYPE STANDARD TABLE OF sopcklsti1 WITH HEADER LINE.
      DATA: doc_chng  TYPE sodocchgi1,
            tab_lines TYPE sy-index,
            subject   TYPE so_obj_des,
            email like zwf_emailko7XX,
            menge(17) TYPE c,
            I_Zwf_obdelan7xx like zwf_obdelan7xx,
            I_eban like eban  occurs 10 with header line.
            SELECT SINGLE * FROM Zwf_obdeLAN7xx into i_zWF_obdelan7xx WHERE
    BANFN
    EQ
    BANFN.
      IF sy-subrc NE 0.
    KONCNEMU
    SELECT single * FROM eban where banfn = banfn.
        SELECT single * FROM zwf_emailko7XX into email
                        WHERE  ekgrp = eban-ekgrp.
    refresh reclist.
        reclist-receiver = email-SMTP_ADDR.
        reclist-rec_type = 'U'.
        APPEND reclist.
    CONCATENATE text-015 banfn INTO subject SEPARATED BY space.
      doc_chng-obj_name = 'SENDFILE'.
    Mail Subject
      doc_chng-obj_descr = subject."text-001.BO22.11.2005
    Mail Contents
    refresh i_eban.
      CONCATENATE text-015 banfn text-016 sy-mandt text-017 eban-ernam INTO
    objtxt
    SEPARATED BY
    space.
        APPEND objtxt.
    select * from eban into i_eban where banfn = banfn.
    menge = i_eban-menge.
      CONCATENATE  i_eban-matnr i_eban-txz01 menge i_eban-meins INTO objtxt
    SEPARATED
    BY space.
      APPEND objtxt.
      append i_eban. clear i_eban.
    endselect.
      DESCRIBE TABLE objtxt LINES tab_lines.
      READ TABLE objtxt INDEX tab_lines.
      doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
      CLEAR objpack-transf_bin.
      objpack-head_start = 1.
      objpack-head_num = 0.
      objpack-body_start = 1.
      objpack-body_num = tab_lines.
      objpack-doc_type = 'RAW'.
      APPEND objpack.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = doc_chng
                put_in_outbox              = 'X'
           TABLES
                packing_list               = objpack
               object_header              = objhead
               contents_bin               = objbin
                contents_txt               = objtxt
                receivers                  = reclist
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                operation_no_authorization = 4
                OTHERS                     = 99.
    insert into zwf_obdelan7xx values banfn.
    commit work.
    endif.
    ENDFUNCTION.

    There are several things you can check before starting to check the code/solution.
    I would start by sending an e-mail from SAP Business Workplace - either to someone who say he/she receives e-mail only once a month, or to yourself if that is not possible. Check how long it takes from the mail is sent until it is received. Once the first mail has been received, send another mail and check the time again (to determine the sendmail process' interval). Of course you can probably just check the configuration of send processes ... but you may as well give them some hard proof.
    Secondly, check the send log (transaction SOST) - and find out how often there are the type of messages you are interested in. Alternatively, test the workflow and verify that messages are sent immediately.

  • I am having problems sending messages.. Once I send it, it just beeps and says it failed to send and I have perfectly good service. Why is this happening??

    I am having problems sending messages.. Once I send it, it just beeps and says it failed to send and I have perfectly good service. Why is this happening??

        Hello llm007!
    That is quite a strange issue. What make & model phone do you have? When did this begin? Are you able to make & receive calls? You can troubleshoot this issue http://vz.to/12TLCsR on our website to get things working as quickly as possible.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • I have pictures in my pictures and in a group and want to send them all at once. It will not allow this what do I do to correct this ??????????

    I have windows xp media and have pictures of family in a group. I want to send them all at once and it will not allow it. I can send one at a time and that would take all day. the total pictures in one group is 16 and the other 32 pictures. HELP
    == This happened ==
    Not sure how often
    == after fire fox came on

    First step is to set the address book to show last name and then the first.
    Open the Address Book
    Select View-Show Name As-Last, First
    Then click on the column header labeled NAME to sort on that column.

  • Sending mail to recepients once the job gets complete

    Hi,
    Is there a way to send email to concerned receipients once the background job completes.
    Regards,
    NS

    Hi,
    While creating batch job, specify a "Spool list recipient" on the first screen of SM36 and then an email address for the recipient.
    aRs

  • Send Email Notification only once

    I've configured my User Form to send out Email Notifications, based on whether or not a particular attribute (usually a Checkbox) is "Yes" or "No".
    When the checkbox is ticked, my Update-User Workflow sends out Email Notifications.
    The obvious problem is : if another Administrator logs into IDM, views that same User Form, and then clicks SAVE, naturally, my Workflow sends out the Email notifications AGAIN.
    Everytime the Form is processed, emails are sent (*because the checkbox is ticked*).
    How can I solve this problem? How can I ensure that Email Notifications are sent only ONCE ?
    Thanks.

    I tried to do it like this :
    *<Action id='1' name='email12' application='com.waveset.provision.WorkflowServices'>*
    *<Condition>*
    *<and>*
    *<isTrue>*
    *<ref>user.global.checkbox</ref>*
    *</isTrue>*
    *<isnull>*
    *<ref>user.update.accounts[Lighthouse].changes[checkbox].old</ref>*
    *</isnull>*
    *</and>*
    *</Condition>*
    *<Argument name='op' value='notify'/>*
    In other words : send the Email ONLY if the "Old" value of the checkbox is NULL. (if the checkbox was not previously ticked).
    But, it didn't work. The email was sent again.
    Perhaps, my syntax is wrong?

  • Query Using Send a alert at once not continuously

    Hi,
    How to control the Alert using Query ?.
    if i add a Purchase order alert is sent to assigned
    user i write a query and set the query in
    alert mananagement window. remainder is set for
    one minute alert is working fine but is repeating
    every minutes i want alert to be send only once
    based on conditions.
    I created a UDF and update the values
    YES/NO. If the alert send once my
    UDF field value should be UPDATE to YES.
    when my udf value - Empty or NO then
    only alert is send
    pl send a Ex query it contains
    select statement and Update statement
    1.Alert sent for assigned user.
    2.UDF Value UPDATE - YES
    Both are in one query
    Regards
    Jambu

    Hi Jumbulingam,
    Here is the simply query SELECT T0.DocNum, T0.CardName, T0.BaseAmnt FROM OPOR T0, which will generate the list of purchase orders and sends an alert to the concerned user.
    How to manage Alerts:-
    For the first question - you to first wirte a query. for this log on to Query Generator select the table from which you want to generate a report or otherwise.
    Now go to Admn/Alert Management - in the window - change to add mode and give some name to your alert program and from "Open saved Query" select the query which you had write for this process. After this you can check box the users who should get this message/mail etc.,
    For the second question - while writing query, you can specify conditions that should be considered while generating query reports. This can again be fowarded to users thru alert management.
    Hope this clarifies your doubt.
    Thanks,
    Srikanth

  • Unable to send txt from mini ipad

    Can't not send txt message from mini ipad

    Using iMessage, you can only send texts to other Appl iDevices with iMessage. For non-Apple devices you have to use a separate app.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • How do I send a 6 min. video made on the iphone to an email address?

    I have made a 6 min. video on my iPHone 4S. I need to send it to a doctor but the message I keep getting is that the video is too large to email. It also will not attach to an email message. How can I get it to this person?

    You're gonna have to find a different method. All ISP's limit email attachments, varies from 10MB's to 25MB's...far too small to email a 6 minute video. You can upload to YouTube, use Dropbox, copy to a thumdrive etc. But you won't be able to email.

  • Ok, Apple Sent me the Empty box to send back my mini,now wat

    Ok, i got my empty box and my paper work from Apple this morning as i want to send my mini back as the right side of my music seems different to the left, the bass crackles, whats the process, i tried to phone apple earlier but i couldnt not understand a work the operator was saying.
    Do they charge me?
    How long does it take?
    Am i insured if the Mini gets lost?

    If your iPod is still under warranty, then Apple should not charge you.
    I would guess 2-3weeks but have no real idea.
    Im not complety certain, but i dont think that its insured as its not Apples fault....but its not yours either.
    Oh, and did you try different headphones, becuase my headphones have had exact problems. All i needed was a new set...which Apple will send to you free of charge.
    *nathan

  • How to get controls of a vi to send signals more than once

    Hi,
    Recently I designed a rather neat VI that allows the user to quickly switch wiring and ID number characteristics on a certain device.  The inside of the VI is an orchestration of sequences and loops that allows user full control through one control loop that cycles through until the user selects a desired function, for which the loop terminates and performs the function.  After the function is complete, if the user has not pressed "stop", another loop brings the program back to the control loop.
    So the VI works great, but as someone who's been interested in automation, I want to try to take this to the next level.
    My next attempt was to put the finished VI as a sub-VI in a new VI that is meant to automate the user control process on the front panel.  I've attempted to use both a flat sequence and the state machine template to do this, and they work great for automatically pressing buttons when working with property nodes or local variable.  The problem, I've found, is that I don't know how to send signals to the Sub-VI from the connected controls at a constant rate without throwing it into a loop itself, which doesn't work because, of course, the sub-vi runs on it's own set of loops and there will be no iteration increment until the program inside the sub-vi terminates.
    Or, if the VI and it's inputs are left on it's own and I try to write values to the controls of the inputs, I can definitely change button positions, but, looking at the signal flows, no signal will be sent from the connected controls to the sub-vi.
    A second problem is that, due to my use of a program button that latches when pressed, I'm having a tough time trying to manipulate it will local variables or property nodes.  Because of the way it functions, the "value" property nodes shows up as purple and I'm not sure how to make it tap itself to operate how it did in the Sub-VI.
    Thanks in advance,
    Matt

    TeknoAXE wrote:
    ...The inside of the VI is an orchestration of sequences and loops that allows user full control through one control loop that cycles through until the user selects a desired function, for which the loop terminates and performs the function.  After the function is complete, if the user has not pressed "stop", another loop brings the program back to the control loop.
    Well, a tight polling loop is typically not a good design. have you tried the event structure instead?
    TeknoAXE wrote:
    The problem, I've found, is that I don't know how to send signals to the Sub-VI from the connected controls at a constant rate without throwing it into a loop itself, which doesn't work because, of course, the sub-vi runs on it's own set of loops and there will be no iteration increment until the program inside the sub-vi terminates.
    You can wire control references to the subVI and then poll the state of the controls on the toplevel VI via value properties.
    TeknoAXE wrote:
    Or, if the VI and it's inputs are left on it's own and I try to write values to the controls of the inputs, I can definitely change button positions, but, looking at the signal flows, no signal will be sent from the connected controls to the sub-vi.
    Of course you need to call the subVI from a parallel loop (for example) so other parts of the code don't get blocked.
    TeknoAXE wrote:
    A second problem is that, due to my use of a program button that latches when pressed, I'm having a tough time trying to manipulate it will local variables or property nodes.  Because of the way it functions, the "value" property nodes shows up as purple and I'm not sure how to make it tap itself to operate how it did in the Sub-VI.
    Latch booleans are not compatible with locals and value properties. A latch action boolean turns true until it is read by the code. If you were allowed to read (and reset it) it from multiple locations and via multiple mechanisms, you would get completely unpredictable code. You can always use switch action booleans and simulate latch action as needed using e.g. local variables.
    It is difficult to give more specific comments without seeing the code. What are the subVIs doing? Are they interactive too?
    If you don't mind attach your code and we will give more specific advice.
    LabVIEW Champion . Do more with less code and in less time .

  • FTP - Sender File Adapter - Exactly Once In Order

    We are running SP10 on PI7.0
    I have a file (FTP - content conversion) to idoc scenario and this works well apart from the communication channel picking up the files in the wrong order.
    I have set to Exactly Once In Order, and the nuemrically file is being picked up in the correct order, however we wish to pick the file up by time and date stamp.
    If I flag the Adapter Specific Message Attributes - and Source File Time Stamp, will this then process the files by timestamp instead of by File name?
    How else can we get the files to process by time created?

    but this option is valid for NFS transport protocol
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    &#9679;      Processing Sequence (for transport protocol File System (NFS))
    If you used placeholders when specifying the file name, define the processing sequence of the files:
    &#9675;       By Name: Files are processed alphabetically by file name.
    &#9675;       By Date: Files are processed according to their time stamp in the file system, starting with the oldest file.
    Message was edited by:
            Prabhu  S

  • Send mail only works once in a loop!

    Hi,
    I'm using the function 'SO_DOCUMENT_SEND_API1' to send an email with a pdf attachment.
    I'm looping through a list of employees and for each employee sending a mail, this works for the first iteration and runs through the code successfully for the next but never sends the second mail.
    I don't get any errors just no e-mail.
    Rob

    Actually, there is.
      WAIT UP TO 2 SECONDS.
      IF  ld_error  EQ 0.
        SUBMIT rsconn01 WITH mode = 'INT'
                      WITH output = 'X'
                      AND RETURN.
      ENDIF.

  • My sister's ipod touch messed up all of the imessaging between all of the iphones in the house. How do we fix it to just her own number and not sending it to mine.

    If I text my mom it will go to her from our email as a text and the same for her. It's hard to tell who is who because every text is on the right side of the screen. Please descibe how to turn this off and have me and my mother's text sent to her number and my number. Also, when texting my sister it just sending to her.

    On your sister's iPod go to Settings>Messages>Receive At and add a unique messaging email address and then delete the other email address.

  • Automatic refresh of BSP page with certain intervals  like 10 mins once

    Hi all,
    I am writing a BSP page ,which reads my table data and display.
    The table data will be automatically getting changes every 10 mins, based on the BGD job.
    I want my BSP page alos automatically refresh every 10 mins...
    Is it possible?
    Please help.
    Thanks in advance.
    Ram

    Hi
    Try this
    window.setInterval("autosave()",30000);
    and also go through this link
    [Auto Refresh|Self-refreshing BSP ?;
    [Auto Save|Re: Auto Save Functionality to be implemented]
    Regards
    Arun
    Edited by: Arun Padmanaban on Mar 21, 2009 10:01 AM
    Edited by: Arun Padmanaban on Mar 21, 2009 10:03 AM
    Edited by: Arun Padmanaban on Mar 21, 2009 10:06 AM

Maybe you are looking for

  • Windows 8 installation problem using bootcamp!

    Hi guys, I would really appreciate some help with this, I think I might of made a big mistake. Ok so I bought windows 8 yesterday to run on my iMac through bootcamp. I went through the instllation process and came to downloading the drivers (windows

  • Sample program for FM: BAPI_ACC_INVOICE_RECEIPT_POST

    Can anyone provide a sample program using the function module - BAPI_ACC_INVOICE_RECEIPT_POST. Thanx in advance. <b><REMOVED BY MODERATOR></b> -Mohan Message was edited by:         Alvaro Tejada Galindo

  • Blu-Ray Motion menus don't work!

    Hey Gang, I posted this issue before but since I received a very limited response, I'm hoping that someone will respond to this simplier issue. I created a empty blu-ray project. I placed the Encore Crib Motion Menu HD into the project. The menu prov

  • Pupose of Item Check in TCode OVA8

    Hai, Can any one tell me the purpose of item check in OVA8. Actually it purpose is to allow credit check at item level.But in my case customer order is blocked only when we check item check in OVA8.Only I want  to know the purpose of it, Regards, Mad

  • MIR7 - Invoice and Posting date must be = PO Date

    Dear All, In MIR7 Invoice Date and Posting date is allowed prior to PO date. e.g. PO Date : 21.05.2010 We can make MIR7 in back date i.e. 20.05.2010 or any back date. How to restrict this. We don't want to allow invoice date and Posting date < PO Dat