Knowing the time of Process execution

I am executing a batch file in Java Code by using the following code,
Runtime r = Runtime.getRuntime();
p=r.exec("Dialup.bat ");
But some time while executing the batch file it hangs up.
I want to terminate that Process if it runs for more than 15 minutes.
plz help me out as early as possible
thks in advanced

i need the help from you about running the batch file
my application needs to place some native lib in system32 folder while lonching the application
i thought running the batch file for this problem is right solution
can you give some help how to achive (urls)
regards
konkodi221

Similar Messages

  • Batch number coming automatically at the time of Process order release

    Hi All,
    I want the system generated batch number for header material to come automatically at the time of process order release.
    At present ,the batch number is entered manualy dering process order creation.
    Can anyone pls guide abt the settings required for the same

    Dear,
    Define the  production scheduling profile CORY then
    Auto Batch Creation = 2 On release.
    Then assign this to your FG or SFG materials in work scheduling view in material msater MM02. Then create new order and check.
    Now for automatic generation i have to set internal number asignment for batches.
    Batch will create for movement type say 101 SPROLogistics - GeneralBatch mangment--Creation of New Batches --Define Batch Creation for Goods Movements. so it will have same logic in MM for 101 GR against PO will be internal number range but no effect in SD.
    Regards,
    R.Brahmankar
    Edited by: R Brahmankar on Mar 12, 2010 12:40 PM

  • ITunes Store is unable to process purchases at the time, Payment process

    Hi,
    I am trying to update my iPod Touch to firmware 2.0 and I would be more than willing to pay the 8 euros but I am not allowed by iTunes which everytime I try to purchase gives me this warning: "The iTunes Store is unable to process purchases at the time, Payment processing is temporarily unavailable. You may continue to browse the store. Please try to make your purchase later".
    Please help me cause this is getting really annoying! I want IT!!!!
    Cheers,

    Im having the exact same problem at the minute.
    I've just contacted apple about it

  • How to know the time and date when someone empty trash?

    someone delete very important videos on my mac PC , i need to know the time and date of what happens on my pc for 2 days ago to can know who delete these files and when the trash being empty
    also, i tried very hard to recovery these videos by using Data rescue program but i found old videos instead of the last videos hasa been removed??? i don't know how???!!
    so can anyone help me please

    Open the Console app located in HD > Applications > Utilities
    Select System Log on the left.
    Type trash in the search fileld top right corner of that window.
    That should reveal the date and name of the file or files that were deleted but they cannot be extracted from there.

  • It would be very convenient to see (know) the time of each sms, when it was sent! As in WhatsApp. Can you do it, please?

    It would be very convenient to see (know) the time of each sms, when it was sent! As in WhatsApp. Can you do it, please?

    tvs4you wrote:
    Can you do it, please?
    Yes..and so can you.  Jus swipe your finger to the left inside any txt conversaton.

  • Automatic Reservation at the time of process order creation

    Hi Experts,
    As you are aware, when we create a process order and save, system automatically generates the reservation and the reservation will be for movement type 261. My requirement is like this. When system creates reservation, system should consider for which order type the process order is created and create a reservation for other movement type also.
    For eg. Iam having order type ZRRW. When system creates reservation at the time of order creation, system should check the order type and reservation should be created for a movement type Z11 instead of 261 in the normal case.
    Is there any user exit for the same. Please let me know.
    Else how can I post the goods issue with a movement type other than 261. MIGO is not accepting other movement types.
    Anticipating your reply
    Regards
    Prathib

    Hi Ayethebing,
    Thanks for the reply. we created the new movement types inorder to use the SAP standard reports and get the different types of goods movements based on the different processes.
    We can do the goods issue using the custom movement type through MB1A. But I was trying to use in MIGO and this is where system wont allow this.
    In MIGO, system will do the goods issue based on reservation only. The reservation is created at the time of order creation and it uses movement type 261 irrespective of the order type.
    I was trying to find out whether any option is there to use custom movement type to create reservation so that system would propose this movement type in MIGO for goods issue against process order.
    This is an interesting case but unfortunately dont have any option of user exit or Badi. Only one user exit related to reservation is to change the str loc and back flush indicator.
    @Sabine: Thanks for your reply. But the BADI that you provided wont serve the purpose.
    Thanks
    Prathib

  • Time of process execution

    What SQL or Linux command will give me the time of execution of a query.
    'set time on' does not give me the time the process takes in executing but the time it takes for the information to be displayed on the terminal. setting autotrace on does not show me anywhere the time it took to execute the query, but a whole bunch of other info.
    Help would be most appreciated.
    null

    i need the help from you about running the batch file
    my application needs to place some native lib in system32 folder while lonching the application
    i thought running the batch file for this problem is right solution
    can you give some help how to achive (urls)
    regards
    konkodi221

  • At the time of Process order creation Batch determination

    Dear All,
    When i am creating process order at the time system not allowing me to execute batch determaination after release only it is allowing me to do.
    My requirement is At the time of order creation i want assign batches ( Execute Batch Detrmination)for the material.
    how to do this one, kindly hel me
    Regards,
    s.sakthivel

    Hi sakthivel 
    Go to OPKP (Production scheduling profile)  txn code and select in Batch management tab Automatic Batch creation at order creation (1) and check this profile is assigned to material in work scheduling view
    Regards

  • Knowing the time in a clip

    I have videos from the same event, and I know the end time for each clip, but how can I find out the time for a given moment in the clip? I could do some arithmetic, and take the saved time for the clip, subtract its duration, then add the play head time, but I'm hoping there's a built in way I'm not noticing.
    It would be nice to put down one long clip and then have shorter clips snap to the same timecode.

    Unfortunately, that only shows the same information that is elsewhere on the screen. That is, you see the time from the start of the clip, and you see the date and time that the recording ended. I want to see the time of day for the frame I'm skimming over.
    Suppose you had a long recording, from perhaps 7:15:12pm, that was an hour long, and you had other angle shots throughout the same period, that you want to switch to from time to time. How would you align part of a short clip that finished recording at 7:53:27pm? If there was something in particular at 7:47:13pm, I would have to subtract the duration of the long clip from its ending time, to work out what time 0:00:00 in the timeline represents, and subtract that from the ending time of the short clip, to then know where in the timeline the short clip should end. Once it's in the timeline I would then need to eyeball skim backwards looking for the right moment.
    If I could point at the interesting moment in the long clip, and then point at the shorter clip, and see the time of day for each, I would very quickly be able to line them up.
    It doesn't have to work that way, but do you understand the problem I'm trying to solve, and can suggest any way to solve it? At the moment I'm listening to the audio in the shorter clip, doing some arithmetic to get close, and then skimming the long clip to try and find the matching audio. It's taking a while!

  • Loss qty related Bill of material move to scrap location automaticaly at the time of process order confirmation

    Hi experts,
    I need one  clarification, i am raise one process order in COR1 - Qty 1000 kg, reservation completed against the process order bill of material main storage location ( 0001 & 0002 ) To Production storage location ( 0004 ) through MB21 with mvnt.type 311, store person also moved the bill of material main storage location ( 0001 & 0002 ) To Production storage location ( 0004 ) through MB1B.
    Issue is at the time of confirmation i am enter the OK qty or packed qty in yield column - 950 kg , remaining 50 kg is enter in loss column.> Go to confirmation bill of material qty calculated at only for related in yield qty. Remaining loss qty related bill of material not consumed it is available in production storage location ( 0004 ),then one by one raw material and packing material qty moved to scrap location through MB1A - 541 Mvnt type.
    If any other way for easy reservation and goods issue against the process order main storage location to production storage location.
    I need at the time of confirmation enter yield qty related BOM qty consumed in 261 consumption, remaining loss qty related BOM qty taken scrap mvt.type  541 in automatically if it is possible for any customization at the time of loss qty enter related bill of material qty also posted in scrap  ?
    Kindly help me for the issue !
    Thanks & Regards,
    N.Umapathy

    Hi
    In Standard practice the scrap generated during the production process should be maintaid as negative qty and with differnent material codes which acts as BY Product.
    In your case when you maintain the scrap percentage for BOM components , it will copied to the production order with adtditional qty and it will be consumed when you do confirmation and Goods moevement and at the same time the Scrap material is generated/received  with movement type 531( not 541) as by product received out of production.
    You can maintain the same BOM component as By product in BOM system will generate the stock to a different SLoc but the cost will be wrong.
    Regards,
    Anupam Sharma

  • How to pass a value to a variable at the time of scenario execution

    Hi All,
    I need to develop a ODI scenario, wiht below requriments.
    I have to move data from flat file to Target DB.
    flat file name is not consistent, we have to pass file name at the time of scenario excution.
    Could any of help me how to build this ODI scenario.
    Appreciate your help.

    In the datastore where you have filename in the "Resource Name", enter a variable #myVar
    You need to recompile your scenario after this change has been done.
    And when you execute the scenario, pass along the parameters "-Project.myVar=c:\filename.txt"
    Probably, this link may help you http://blogs.oracle.com/dataintegration/2009/04/using_parameters_in_odi_the_dy_1.html

  • Checking the time before code execution..

    public boolean checker(int mins) {
              int minutes = 0;
              while (mins!=minutes) {
                   Calendar cal = new GregorianCalendar();
                       minutes = cal.get(Calendar.MINUTE);
              return true;
         }I am building a time-sensitive embargo application which will run in the background and constantly check the time until a certain time is reached when it will automatically update a website by sending a file by ftp.
    The above method is the time checker which, when called, will only allow the ftp code to execute when it returns - which is when the required time (in minutes) is reached.
    My question is this: Is this the best way to achieve this or will it tie up valuable resources. Can anyone suggest a better way ?
    Thanks

    import java.util.Timer;
    import java.util.TimerTask;
      * Simple demo that uses java.util.Timer to schedule a task to execute
      * once 5 seconds have passed.
    public class Reminder {
         Timer timer;
         public Reminder(int seconds) {
             timer = new Timer();
             timer.schedule(new RemindTask(), seconds*1000);
         class RemindTask extends TimerTask {
             public void run() {
                 System.out.println("Time's up!");
           timer.cancel(); //Terminate the timer thread
         public static void main(String args[]) {
       System.out.println("About to schedule task.");
             new Reminder(5);
       System.out.println("Task scheduled.");
    }

  • How to know the time elapsed

    hello all,
    iam new to using labview and would like to have some tips on how to know time taken by my program or design to complete execution

    Hi Chander,
    good question, but you state in your first post that you don't know much about LV (we all did once, truly) and then in the second post you mention large application. I need to warn you if you want to make a large applicatoin don't RELY on these forums. They are very usefull, but we can't do your work. If you want to do a large application AND you are a fresh labviewer attend some courses (basic I&II to learn LV and intermediate I to write large applications). And off course experience, experience experience.
    Good luck,
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Co-Product Lot creation at the time of Process order release.

    Hello All,
          I want to map a scenario such that:
    Whenever a order for material is RELEASED it should generate a LOT for say MAIN product ,CO-PRODUCT & BY-PRODUCT(in shrt also for its BOM).
    Thanks.

    Use Userexit QAAT0001 to create m inspection lot for co-product.
    For more help on this user exit refer to link
    http://wiki.sdn.sap.com/wiki/display/PLM/QAAT0001Do'sand+Don'ts
    Inspection lot so created is manual IL, hence it cannot be used to control stock postings.
    And system  will automatically create 05 type inspection lot  when 531 movement is posted for co-product.  Thus you will have  two inspection lots for the same co-product.
    You may want to review your business requirements and verify you actually need this functionality
    Please note -
    Inspection lot created for Finished product is different. Initially when order is released
    It has no quantity association, but as and  when Stock postings are done,
    SAP will add these quantities to the IL and control the stock postings.
    With manual inspection lot you can not have this functionality without extensive programming.
    Hope this helps.

  • How to know the query execution time

    Hi All,
    I want to know the execution time taken for a particular query, How should i get that information ?
    say for example,
    select * from emp
    after getting the result, i want to know the time taken for completing the execution.
    How ?
    Inputs are welcome !

    BTW it was already written in a response to you yestreday:
    Re: Query Plan
    Gints Plivna
    http://www.gplivna.eu

Maybe you are looking for

  • A new start-up program in my Win 8.1: I can't stop it!

    Hi fellows. What about this article? In the last couple of days I've been getting loads of email from WinPatrol customers asking what is this strange new start-up program? The name is only numbers and no matter how many times I try to block or disabl

  • Problem in posting period

    hi, we have not closed the previous period (1/2008), bcoz still some work is pending. Now we want to do goods movement for the present month(2/2008). Can anybody help in this. thanks/regards vish

  • That red frame discussion

    So i have been dealing with red frames for about a year and a half now - - In Premiere pro CC and early CC 2014 versions, .MXF footage used to red frames and relink badly on multi spanned clips if the sidecar files were detected by premiere. This was

  • File split and correlation in BPM

    Hi, I have a large file from the sender FTP which I am splitting by using 'recordsets per message' in the file adapter. Now I want all the split files to enter the same BPM. I have designed the BPM logic by using the correlation in the receive step.

  • USB 3 Coming to macbook pro

    I am planning to buy a macbook pro sometime within the next year and a half. But I want to hold off until USB 3 or some other important update comes out. When will USB 3 come out? Will any other important updates come up to the Macbook pro? Thanks