Re: Timer Schedule TimerTask for same hour every day



Roedy Green wrote:
On Sun, 29 Jun 2008 08:47:59 -0700 (PDT), Tomer <tomerbd1@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
However i wanted it to be run every day at 18:48! how can i achieve
that?

I don't think that is a sensible way to handle the problem. You would
need an JVM sitting in RAM 24-7.

Better to use some light weight chron feature of the OS.

cron

There is that little aspect called portability.

But if it is a server running 24 x 7 it should probably
use Java EE and scheduling has been part of Java EE since
version 1.4 !

Arne
.



Relevant Pages

  • Re: where do you store app wide data?
    ... Not the JVM.. ... Java applications. ... thats the fault of whoever wrote the application - not Java. ... Files are not stored in RAM when you close them. ...
    (alt.php)
  • Re: where do you store app wide data?
    ... > But it still uses and insane amount of RAM. ... process is larger than the PHP process - thats a different story. ... App scope just keeps things in RAM ... >>familiar enough with modern java jit compilers to realise that java runs ...
    (alt.php)
  • Re: Embedded java ?
    ... >I wonder if Cell ... A cellphone has very limited ram. ... desktop java, so you would have to study the available tools. ...
    (comp.lang.java.help)
  • Re: How to initialize a big (String-)Array fast?
    ... Java is not concerned with addressing at all. ... > memory comes to bear. ... RAM, swap space, and disk available to the system. ...
    (comp.lang.java.programmer)
  • Re: where do you store app wide data?
    ... it's probably more the fault of Java libraries than the ... >Files are not stored in RAM when you close them. ... I have a large common file-system cache where I cache ...
    (alt.php)