How can the program auto do something in particutar time???

Hello everyone.
I want the program can check the time periodically, and then in particular time to do something.
For example: At 1:00 , the system can auto to send the movie to the client.
How can the system check the system time automatically????
Thanks for help.

You could use a Timer to check the time every minute and act accordingly when the time matches some preset value.
java.util.Timer I believe is the class.

Similar Messages

  • How can the browser auto-refresh not be considered a bug?

    I have been browsing these forums and I have seen this issue over and over again being discussed and the answer is always "that's not a bug, that's how it works, you can't change or disable it."
    Here is the problem. In ios 7, when you are using Safari (or any other browser, I have found), if you exit the browser to do almost anything: your phone rings, you open the camera and take a picture - anything at all - when you return to the browser, the current page will almost always reload itself. Anything you have done on that page, any comment written, any checkboxes checked - everything - will be lost.
    This is an important issue for me, because I have written a web application that I use every single day for work. My web application is a 560k page of pure html/javascript (no third party or plugin content at all, I wrote it all by hand) with about another 80k worth of graphics (buttons). You load the page and javascript functions move you from div to div, with different sets of checkboxes in each div (there are some 87 such divs in the page). At the end of this process, you click a button to finish your checklist, which will save it to a database and you're done. Unfortunately, this process would never get to the end because of the page constantly refreshing.
    So I rewrote the page to save via ajax at each major section (there are 8 major sections). Dividing it up this way meant that all of your work is never lost and that you only have to go back and redo at most one section. When I rewrote it this way and I was still using ios 6, it was only a minor annoyance. I might have to redo a section once or twice a week because of a page refresh.  Ever since the upgrade to ios 7 however, it has become a pain again, because now the page refreshes almost every single time. The problem is that while doing this checklist, I have no choice but to go to the camera to take pictures documenting what I am checking boxes about. This switch to the camera and back again almost always forces a page refresh.
    It strains credibility to think that a 640k web page has to be cleared out every time you do anything. I have only this page open in the browser, nothing else going on, nothing else loaded, all apps closed - and still, the browser will be force refreshed every time I do anything. The iphone 4s has 512M of memory, so my page occupies 640k of 524288k, or .001% of the available memory. Do you really have to refresh this thing every single time I sneeze?
    How can this not be considered a bug, clearing out everything that can be cleared out regardless of what impact it might have on the user experience?
    And finally, can anyone at all suggest any kind of a workaround? People have been complaining about this since at least 2008. I'm at my wits end, its making my web app nearly unusable.

    OK...after better keyword choices I did find that the 'change location' solution does work, but only if the calendar is first shared with the world, and then has its location changed:
      http://www.radbrooksolutions.co.uk/rs/Blog/Entries/2011/5/3_MobileMe_Calendar_Up date_and_PHP_iCalendar.html
    Does anyone know if information in public calendars can be found in nefarious ways (like by Google)?
    FWIW, I did try sharing privately to just myself, so that I could then subscribe to the calendar on the serving machine and push it out as a .ics file...but I cannot share a calendar with myself. Boooo.

  • How can I stop auto download of attachments without tapping on them? Once I open a mail, the attachment automatically starts downloading, though it is written as "tap to download". Please help..

    How can I stop auto download of attachments without tapping on them? Once I open a mail, the attachment automatically starts downloading, though it is written as "tap to download". Please help..

    To the best of my knowledge, there is no way to prevent the automatic downloading of the SD version when you buy an HD show.
    You can, if you wish, suggest that the ability to prevent the SD version from downloading through the iTunes feedback page. But since the SD version is needed for use on iPods and there at least at present is no mechanism for someone to download the SD version at a later time should they decide they need it, Apple may just continue to force the downloading of both versions. If they get enough feedback on the issue, though, they may figure something out.
    Regards.

  • How can I program the text fields in my email forum to have rounded corners

    How can I program the text fields in my email forum to have rounded off edges or corners. 
    this is the code im using.
    // insert code here// insert code here// prepare email field
    var email = sym.$("email")
    email.html("Enter your Email: ");
    inputEmail = $('<input />').attr({'type':'text', 'value':'', 'id':'email'});
    inputEmail .css ('font-size', 14);
    inputEmail .css ('width', 350);
    inputEmail .css ('background-color', '#4e4e4e');
    inputEmail .appendTo(email);
    // prepare topic field
    var topic = sym.$("topic");
    topic.html("Topic: ");
    inputTopic = $('<input />').attr({'type':'text', 'value':'', 'id':'topic'});
    inputTopic .css ('font-size', 14);
    inputTopic .css ('width', 350);
    inputTopic .css ('background-color', '#4e4e4e');
    inputTopic .appendTo(topic);
    // prepare message field
    var message = sym.$("message");
    message.html("Message: ");
    inputMessage = $('<textarea />').attr({'type':'textarea','rows':'10', 'cols': '25','value':'', 'id':'message'});
    inputMessage .css ('font-family',"Arial,Helvtica,sans-serif");
    inputMessage .css ('color',"#ffffff");
    inputMessage .css ('font-size', 14);
    inputMessage .css ('background-color', '#4e4e4e');
    inputMessage .css ('box-shadow', '#4e4e4e');
    inputMessage .css ('width', 350);
    inputMessage .css ('height', 150);
    inputMessage .appendTo(message);
    var submitBtn = sym.$("btn");
    submitBtn.html("Submit");
    submitBtn.css("text-align", "center");
    submitBtn.css("font-size",14);
    submitBtn.css("font-weight","bold");
    submitBtn.css("color","#ffffff");

    Try this: inputEmail.css ('border-radius', '25px');
    attachment
    more details

  • On slide No. 13 of my Keynote presentation, I have varous pictures that go through automatically just as I programmed them, but if I I want to get by clicking to the next slide , it does not let me. How can I program so when I want goes to next slide?

    On slide No. 13 of my Keynote presentation, I have varous pictures that go through automatically just as I programmed them, but if I I want to get by clicking to the next slide , it does not let me. How can I program so when I want goes to next slide?

    Keynote is programmed to execute all of the effects in a build sequence before it will move to the next slide.
    If you want tobe able to move to the next slide at any time in a sequence of builds, you will need to set all of the builds on that slide to:  "on click". You will then need to execute each build by pressing the space bar or click the left mouse button for each object.

  • My macpro runs slow with or without internet on..... How can I find out if something is running in the background?

    my macpro runs slow with or without internet on..... How can I find out if something is running in the background?

    Please boot in safe mode and test. Still slow? If you connect to a wireless network, you may have to connect with Ethernet in safe mode.
    After testing, reboot as usual (not in safe mode.)
    Mac OS X: Starting up in Safe Mode

  • The screen is frozen while installing software updates. Say about 2 minutes and it has been more than hour. How can I cancel or do something about it? Is it ok to unplugg it? Please advise.

    The screen is frozen while installing software updates. Say about 2 minutes and it has been more than hour. How can I cancel or do something about it? Is it ok to unplugg it? Please advise.

    Really?
    Is there no other option? No magic key combo that brings up a secret menu?
    My imac just froze during a software update install and I too do not know what to do.

  • How can I stop my nano from syncing every time I do something?  Sometimes it takes overnight to complete the sync.

    How can I stop my nano from syncing every time I do something?  Sometimes it takes overnight to complete the sync.

    Check your sync settings on the Music and other tabs. Personally I untick the box that says "Open iTunes when this iPod is connected" and under Edit > Preferences > Devices I tick the box that says "Prevent iPods, iPhones, and iPads from syncing automatically". This means that I get to choose and, if necessary, edit the content selections and then start the sync only when I'm ready.
    tt2

  • I hâve bought an iPad 4 retina and à Mini Mac. I bought allo à targus Versavu Bluetooth keyboard for m'y iPad and m'y Apple Mini. Because I ma french speaking, I need the french accents. How can I program them?

    I have bought an iPad 4 retina and an Apple mini. I bought also a Targus Versavu Bluetooth keyboard. I ma french speaking and I have problems with the french accents that I can't find. I called Targus who said that I need to call Apple. How can I program the french accents on my Bluetooth keyboard on both computers? I don't want to be à ping--pong ball. Michel Mondou

    I would echo BGreg's advice and stick to official Apple refurbished Minis sold through the store.apple.com site. They will have a 1-year warranty and be eligible for AppleCare. And they will have current OSX and iLife software.
    The term "refurbished" is often abused by other retailers who apply it to used computers that have been returned by unhappy customers -- but have not actually been fully diagnosed or repaired.
    The 1.66 GHz model you list is rather long in the tooth. At least get a Core2Duo model, rather than a CoreDuo.
    The links to the offical Apple refurbs are here:
    http://store.apple.com/us/product/FB138LL/A
    http://store.apple.com/us/product/FB463LL/A
    http://store.apple.com/us/product/FB139LL/A
    http://store.apple.com/us/product/FB464LL/A
    You'll have to check these links daily for a week or more to find them in stock.
    I'd be very leery of buying AppleCare via *bay.
    But lacomputercompany appears to sell genuine boxed AppleCare at prices close to Apple's educational price for AppleCare.
    On another topic you brought up ... for desktop publishing on a budget I'd strongly endorse SwiftPublisher. Just enough features, just the right price -- and to my mind, works more intuitively than Apple's Pages program.

  • My husband and I share an iTunes account. We both just got iPads. How can we program them to have different phone numbers for FaceTime and messages

    My husband and I share an iTunes account. We both just got iPads. How can we program them to have different phone numbers for FaceTime and messages

    Use different email address (gmail?) just for FaceTime and Messages.
    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
    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/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    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/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • How can java programs execute automatically when it connects to network

    Good Day dears...
    How can java programs execute automatically when it connects to network.
    Thanks in Advance friends Shackir

    884924 wrote:
    Good Day dears...
    How can java programs execute automatically when it connects to network.What is "it"? That is, execute when what connects to the network?
    Your computer? If that's what you mean, this is not a Java question. It's an OS operational/administrative question. Executing any program, whether written in Java or not, based on some system event has to do with that system, not with the program. If it's possible to do this, you'd do it exactly the same way for a Java program as you would for any other program.
    Or is "it" the program itself? If this is what you mean, then it's a nonsensical question. For the program to connect to the network and detect that it has connected to the network, it must already be executing, so asking how to execute it at that point is meaningless.
    Finally, I'll point out that "connecting to the network" is a pretty meaningless phrase. Or rather, it has so many potentially valid meanings that it's impossible to know which one you're referring to when you use that phrase. And I'd be willing to bet you don't have a clear picture of that yourself.

  • How can I get auto correct to recognize a name used very often? It is in my address book but auto correct does t recognize it?

    How can I get auto correct on my iPhone 4 to recognize a name that is already in my address book? It doesn't recognize it and offers no suggestions.

    The cleanest way to get things straight now and as you proceed into the future with Time Machine is to start over. If the new machine is setup the way you want and has all the data placed onto it I suggest you erase and re-format the TM backup device and start a Full initial TM backup.
    I believe this will pay dividends now and over time and avoid future problems for you. Jst before going to bed crank up the Full TM backup and it will be all done by morning time.

  • How can I programically make a top level VI panel invisible?

    How can I programically make a top level VI panel invisible?

    You can use VI Server's 'Close FP' method to close the front-panel. You will need a reference to that VI to invoke the method. One easy way is to launch the VI with the VI Server and hold on to its reference.
    See the attached diagram -- the top-level.vi is launched and run, we wait for 5 seconds, and then close its front-panel.
    Hope this gives you some ideas.
    Khalid
    Attachments:
    close_fp.png ‏38 KB

  • How can I program Multi Monitor with Labview?

    I must use more the four  Monitor in my program,one panel at a monitor,How can I programming to decide the panel in difference monitor?
    thanks

    duplicate

  • How can I do auto-sort-by-name

    In previous PSE(8/9/10), after change to folder view in EO, the files/Photo in folder selected will be sorted automatically by name, but I cannot sort by other methods (no [Sort By]).
    However, in PSE11, folder view has gone. I can sort by Newest, Oldest and Import Batch. but I want to know how can I do auto-sort-by-name?

    Lily~Lily wrote:
    In previous PSE(8/9/10), after change to folder view in EO, the files/Photo in folder selected will be sorted automatically by name, but I cannot sort by other methods (no [Sort By]).
    However, in PSE11, folder view has gone. I can sort by Newest, Oldest and Import Batch. but I want to know how can I do auto-sort-by-name?
    See that other post:
    http://forums.adobe.com/message/4815430#4815430
    I don't think it's possible to sort alphabetically in PSE11

Maybe you are looking for

  • Dynamically want to display a row of a table in BI Publisher

    Hi Gurus, Could any body help me regarding the following thing . I want to display a complete row of a table as a first record(on thenext page) if the particular Group having some data goes to next page . This Grouph is the inner group. I have tried

  • Is it Possible to manage BP Master Data in all Currencies?

    Hi, I want to know that,  how to manage BP Master Data in All Currencies like  ( Dollar, Euro, INR ) Our Marketing  Document shows all these Currencies when we punch it . Plz reply me soon ................................................? Thanks, Jyo

  • Software to record from minidisc

    H friends, Do you have any experience or recommendation for a software which enables recording into I Tunes from other sources than CD, i.e. from a minisidc player..? I would also be very intersted in a software for "exact copy" recording from CD...I

  • Table containing approver id

    Hi All, I am using datasource"0BBP_TD_SC_APPR_1"(for shopping carts:approver).It contains a field"APPROVER_ID" which contains approver no.This field is Only for STAT_RELEASE u2018I1129u2019 and u2018I1016u2019 from CRMD_PARTNER according to the stand

  • WLC 2006 DHCP locking up

    We have a WLC 2006 that is setup to distribute IPs to wireless clients using the internal DHCP server. Occasionally, wireless clients can connect to the APs (four 1131AGs) but do not get IP addresses assigned. Rebooting the WLC temporarily fixes the