Is there a method in java that can schedule work??

I'm working on a project and I need to start a program at a fixed time each day.
E.g. every day at 03:00 AM!
Is there such a method in java?? Or can somebody give me an
example of how this can be done!
Thank you in advance : )

it really depends on whether you mean you want the operating system to start the "program" for you, or whether you want your own java program to spawn other tasks...
Check the OS docs if it is the former, and use java.util.TimerTask for the latter

Similar Messages

  • Is There Any Tool in Java That Can Create Reports?

    Is there any tool in Java that can create reports? What is the tool?

    Google is your friend
    http://www.google.com/search?q=java+reporting+tools&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8
    I've heard good things about JasperReports (theres a link on the first results page from the above Google search) but I haven't used it myself.

  • Is there a method in resultSet that \can select a specified row?

    I'm using DB2. I was wondering, given a resultset, given a row number, can I select the record from the resultset? I know result set in DB2 is scrollable.
    Any suggenstion is appreciated!
    Jing

    Generally, no. Think of the ResultSet as a wrapper to a cursor on your RDBMS. You can move forward or backwards, but generally, cursors do not allow you to skip to a certain record number, they are designed to be sequentially iterated over. So, keep a counter int (or long) and when you get to the desired row, break out of your loop. Though, a more effective design would be to simply select the row you want exactly.
    - Saish

  • Is there a stereo bluetooth headset that can pair with more than one device at a time?

    Is there a stereo bluetooth headset that can pair, i.e. multipoint, with more than one device at a time?
    Are the MacBook and iPhone 4 capable of multipoint bluetooth technoloagy?
    The goal is for my wife to be able to watch her Korean TV soap operas on her MacBook and still receive a call on her iPhone 4 via a stereo bluetooth headset.
    I was looking at the Motorola S10-HD but after further review saw that it only pairs with one device at a time.
    Appreciate any and all input. My Googling has returned no results.
    Rick

    TeslasBB wrote:
    pairing my BB8330 with my blue tooth earphone(TM:jawbone) and my microsoft sync thats in my car simultaneously? if i pair with the car, will i have to pair my jawbone all over again?
    You can only pair one device at a time to your 8330, or any other phone for that matter.  The "pairings" are saved to the phone, you can use one or the other and you won't have to pair it again.  Once you turn your bluetooth device on and the phone is on, they will find each other again.
    Hope this helps,
    John
    Stevie Ray! 1954-1990
    ** Don't forget to resolve your post with the accepted solution.

  • Is there any fuction or bapi that can print the report automatic?

    Dear All
    I want to print the report( generated by command write ) automatic.
    Is there any function or bapi that can do it?
    Thank you in advance.

    Hi,
    Please try this.
    report ztest_auto_print.
      DATA:L_PARAMS TYPE PRI_PARAMS,
           L_VALID TYPE C.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
           EXPORTING
             IMMEDIATELY                  = 'X'
             LINE_SIZE                    = 220
             RELEASE                      = 'X'
             MODE                         = 'CURRENT'
             NO_DIALOG                    = 'X'
           IMPORTING
    *     OUT_ARCHIVE_PARAMETERS       =
             OUT_PARAMETERS               = L_PARAMS
             VALID                        = L_VALID
           EXCEPTIONS
             ARCHIVE_INFO_NOT_FOUND       = 1
             INVALID_PRINT_PARAMS         = 2
             INVALID_ARCHIVE_PARAMS       = 3
             OTHERS                       = 4.
          IF SY-SUBRC <> 0.
          ENDIF.
    "But it will take default printer from user settings
          NEW-PAGE PRINT ON   PARAMETERS L_PARAMS NO DIALOG.
           write : 'print is on'.
          NEW-PAGE PRINT OFF.
    Regards,
    Ferry Lianto

  • Is there a version of PS that can adjust a batch by a Historgram setting?

    Is there a version of PS that can adjust mass numbers of high res images for Contrast and Brightness but at the same time constrained by a Histogram setting?
    I have thousands of hi res .sid or .png images that are all of various degrees of brightness and need to be brightened to different degrees along with contrast changes.  Although it can obviously be done individually, I am seeking a batch command that can do this without over correcting.   Is there any PS version that can analyze each photo and make brightness and contrast corrections but constrained by a histogram setting?  Because some photos need twice the brightness or contrast than others, using that batch same command will result in many of the photos being over corrected.  Thus, I am looking to adjust via an auto Histogram analysis of each photo to avoid over correction.  Is there any software that does this?

    Yes, it can be installed on a network. I teach Dreamweaver at a university in London, so I know that it definitely works. But I'm not a systems admin, so I don't know the details of how it's done. However, the following should be a starting point for your sysadmin: http://www.adobe.com/devnet/creativesuite/enterprisedeployment.html.

  • Is ther a BAPI or RFC that can read any table ?

    I want to read 35 tables in SAP database. Is ther a BAPI or RFC that can read any table ?
    If I use RFC to read these tables, I will write a lot of codes. It may be a large work.

    Check these FM
    RFC_READ_TABLE
    RFC_GET_TABLE_ENTRIES

  • Is there any limit of character that can be sent as body of the mail ?

    Hi,
    we are in exchange 2010 server environment. Is there any limit of character that can be sent as body of the mail ?
    Sankar M http://messagingdevelopment.blogspot.in/

    Hi Munirathinam,
    We can use transport rule and content filtering to implement this function, for example "SubjectOrBodyContains" or "
    FromAddressContains". More details about it, please refer to:
    Transport Rule Predicates:
    http://technet.microsoft.com/en-us/library/dd638183(v=exchg.141).aspx
    Understanding Content Filtering:
    http://technet.microsoft.com/en-us/library/bb124739(v=exchg.141).aspx
    Best Regards,
    Allen Wang

  • Is there any Mountain Lion software that can do what Appleworks could

    Is there any Mountain Lion software that can do what Appleworks could like drawing, painting, etc.?  I find that Pages is very limited compared to earlier software or am I missing something?  If Pages doesn't have this capability, what software can I get that does????

    Hi,
    Windows has a function called Narrator. Narrator reads what is displayed on the screen, including the contents of the active window, menu options, or text that has been typed. Narrator is designed to work with Notepad, WordPad, Control Panel programs, Internet Explorer,
    the Windows desktop, and some parts of Windows Setup, and may not read words aloud correctly in other programs.
    For more information, please refer the following link:
    Turn on and use Narrator
    http://windows.microsoft.com/en-IN/windows-xp/help/use-narrator
    In addition, based on my research, a kind of third party program named JAWS. You could know well it first, and then decide whether you want to buy it.
    Karen Hu
    TechNet Community Support

  • Is there any app or something, that can do that, you can stream any sound coming out of your mac to your airport express?

    Is there any app or something, that can do that, you can stream any sound coming out of your mac to your airport express?

    Yes, he would have to have jailbroken your phone to install malware. If you see an app called "Cydia", that would indicate conclusively that it was jailbroken. I would recommend restoring the phone as new using iTunes. It is your best shot at removing a jailbreak.
    You should also change your network password, your email password and your FB password as well as passwords to anything else you've used from the phone. Put a lock code on the phone.
    Your best defense against this sort of thing is to NOT give your phone to people you don't trust.
    This is a user-to-user forum, by the way. Apple employees don't participate here. If you want to talk to someone from Apple, make an appointment at the Genius Bar at your local Apple Store.

  • Is there any method in Java to convert from system time to variant time?

    From MSDN:
    A variant time is stored as an 8-byte real value (double), representing a date between January 1, 100 and December 31, 9999, inclusive. The value 2.0 represents January 1, 1900; 3.0 represents January 2, 1900, and so on. Adding 1 to the value increments the date by a day. The fractional part of the value represents the time of day. Therefore, 2.5 represents noon on January 1, 1900; 3.25 represents 6:00 A.M. on January 2, 1900, and so on. Negative numbers represent dates prior to December 30, 1899.
    Is there any method in Java to do this or do I need to write it?

    do I need to write it?yes

  • Is there any iPhone midi controller that can control logic just by one usb

    is there any iPhone midi controller that can control logic just by one usb line to the mac?
    Free ones would be the best!
    Thanks!

    If you have a Mac Pro and an iPhone, surely you can afford a router? It's about the same price a a decent meal for two.

  • Is there any iPhone midi controller that can control logic just by USB?

    is there any iPhone midi controller that can control logic just by one usb insert to the mac?
    Free ones would be the best!
    Thanks!

    Although not USB, there are a couple of iPhone/Touch apps that can control the Mac using a wireless network. MobileMouse (free & paid versions) do a great job, as well as Logitech's TouchMouse. Both will allow you to use the touch screen to control the mouse, which essentially gives you the ability to do many things in Logic. I've used them, for example, to begin a recording, which frees me from being near the computer.

  • Hi! I'm getting an iPhone 4 soon, so my question is; is there some kind of "app" that can upgrade iPhone 4 to 4s?

    I'm getting an iPhone 4 soon, so my question is; is there some kind of "app" that can upgrade iPhone 4 to 4s?

    No, there isn't.
    The phones are different as in with different hardware.
    If you want a 4s then I would suggest in getting the 4s.

  • Simple question. Since apple has extinguished iDVD Are there any other Software programs that can produce the end product iDVD did?

    There are many a thousands of people who are producingvideos on completed DVDs. As an amateur videographer using iMovie first nowusing Final Cut pro to produce completed ready to distribute DVDs, I find ithard to believe at the meeting you mentioned anyone with common sense wouldhave explained the scenario above. On an amateur level so many folks have beencreating videos of Weddings, Home Movies, and many different Special Events. Onin particular are sports events. I shoot a sports event like Mix Martial ArtsEvents utilizing several video cameras. Then editing with Final cut Pro andsometimes iMovie. All of my completed videos that have been edited in either ofthese two programs are shared (like hand in glove) with iDVD. Short of steppinginto the commercial world Apple has deleted many people from producing a semiprofessional looking product.
    I do not know if the can be answered here in the format buthere it goes!!
    Simple question. Since apple has extinguished iDVD Are thereany other Software programs that can produce the end product iDVD did? Googlesearches with years of outdated info does not give good references. Withoutlooking to go commercial, the Apple Macintosh Computers built internal Softwareprogram like iDVD is the only program I know of that can help folks on mylevel!!
    It doesn't seem there are any programs that takes off fromwhere iDVD left off. My end products (complete videography from start tofinished printed and burned DVD) needs to have the mapping and control usingthe semi professional look iDVD gave!
    Have any ssuggestions?

    Thank you Klaus 1
    I have 4 latest Macs All have iDVD. The question was not where to get iDVD.
    The question for anyone who knows is: Since apple has extinguished iDVD Are there any other Software programs that can produce the end product iDVD did?
    I appreciate your input but it realy does not answer the question. iDVD will soon not be able to work with newer versions of Macs as it has been left behind by Apple!
    Once again:
    It doesn't seem there are any programs that takes off from where iDVD left off.
    My end products needs to have the mapping and control using the semi professional look iDVD gave me.
    Imovie cannot do this. More importantly imovie cannot save the project to Video_TS folders like iDVD did.
    Anyone have suggestions?
    My full post is just below:
    There are many a thousands of people who are producing videos on completed DVDs. As an amateur videographer using iMovie first now using Final Cut pro to produce completed ready to distribute DVDs,
    On an amateur level so many folks have been creating videos of Weddings, Home Movies, and many different Special Events. One in particular are sports events. I shoot sports event like Mix Martial Arts Events utilizing several video cameras. Then editing with Final cut Pro and sometimes iMovie. All of my completed videos that have been edited in either of these two programs are shared (like hand in glove) with iDVD. Short of stepping into the commercial world Apple has deleted many people from producing a semi professional looking product.
    I do not know if anyone can this question but here it goes!!
    Simple question. Since apple has extinguished iDVD Are there any other Software programs that can produce the end product iDVD did? Google searches with years of outdated info does not give good references. Without looking to go commercial, the Apple Macintosh Computers built internal Software program like iDVD is the only program I know of that can help folks on my level!!
    It doesn't seem there are any programs that takes off from where iDVD left off. My end products (complete videography from start to finished with printed and burned DVD) needs to have the mapping and the control by using the semi professional look iDVD gave!
    More importantly imovie cannot save the project to Video_TS folders like iDVD did. Something for folks like myself who need this to burn to our multi burning DVD all in one printers!!
    Anyone have suggestions?

Maybe you are looking for

  • Fast multi-channel digital to analog converter

    Hello, I'm a PhD student working in a mechanics laboratory in France (LMT Cachan) and one of the goals of my thesis is to control a hydraulic testing machine using digital image correlation techniques. In order to do this, I need to take a photo of a

  • Can I re download an audiobook I purchased?

    I have purchased an audiobook from iTunes on an iPad, but it wouldn't sync with my computer. Also there isn't a way to redownload it into iTunes.how can this be done?

  • Trying to open PDF getting error message " there is a problem with Acrabat /Reader. Please exit Adob

    I have windows XP, when I am trying open PDF getting a error message " there is a problem with Acrabot /Reader. Please exit Adobe Acrabat/Reader Please try again'  It was working earlier today  HELP

  • Installing Update On ENVY 120 e

    An important update for my ENVY 120 e keeps failing. The update is titled : Hewlett Packard - Imaging - Null Print HP ENVY 120 e Series. The error code I keep getting is 80070490. When I go to that error Windows can't find it. It might not be a serio

  • Network Install Elements 9 & 10 elevated priviliges to run?

    Successfully installed on a Windows 7 network BUT will only run with student logon if an Admin user has run the program since boot.  Have set SLSTORE folder to full R/W access but what else is needed and stopping the student user from launching the s