Someone suggesting hitting a JSP with a cron... how can you hit a URL with
a CRON or AT command, I didn't think you could do that! Perhaps I
misunderstood the explanation?
R
Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation
San Francisco, CA 94123
w -
If you put the code at the init function, you can force the servlet to
load at startup by putting the tag
load-on-startuppriorityNumber/load-on-startup
in the servlet description in web.xml. priorityNumber defines the
order in which the servlets will be loaded at startup.
--
Best regards,
on unix, you could d/l and use the wget command
mike
- Original Message -
From: "Robert S. Sfeir" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Tuesday, March 06, 2001 12:18 PM
Subject: Re: How to set orion to perform a timely task.. (CRON???)
Someone suggesting
Sure you can.
* * * * * lynx --dump http://myhost/hiteveryminute.jsp /dev/null
This submits something to hiteveryminute.jsp every, um, minute.
On Tue, 6 Mar 2001, Robert S. Sfeir wrote:
Someone suggesting hitting a JSP with a cron... how can you hit a URL with
a CRON or AT command, I
Title: SV: How to set orion to perform a timely task..
First of all, there
is an option to load a servlet at startup so that you don't need to wait for the
first request comes in.
Secondly I prefer
this way better. You could create a separate ejb client application to
start your timer
One way is to write a simple Java program that uses URLConnection to hit your
JSP page and have CRON drive your simple program.
tim.
Someone suggesting hitting a JSP with a cron... how can you hit a URL with
a CRON or AT command, I didn't think you could do that! Perhaps I
misunderstood
you can use wget in some *nix'es
I have a java based tool that does basically the same work that wget does;
I'll post it tomorrow
-Original Message-
From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 3:40 PM
To: Orion-Interest
Subject: Re: How to set
Title: SV: How to set orion to perform a timely task..
how about an client-application that does some operation on scheudled hours?
WR
-Ursprungligt meddelande-
Fran: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Skickat: den 3 mars 2001 09:44
Till: Orion-Interest
Amne: How
PMTo:
Orion-InterestSubject: SV: How to set orion to perform a timely
task..
how about an client-application that does some operation on
scheudled hours? WR
-Ursprungligt meddelande- Fran: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Skickat: den 3 mars 2001 09:44 Till
]
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus
RydinSent: 05 March 2001 10:08To:
Orion-InterestSubject: SV: How to set orion to perform a timely
task..
how about an client-application that does some operation on
scheudled hours? WR
-Ursprungligt meddelande- Fran: [EMAIL
]
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus
RydinSent: 05 March 2001 10:08To:
Orion-InterestSubject: SV: How to set orion to perform a timely
task..
how about an client-application that does some operation on
scheudled hours? WR
-Ursprungligt meddelande- Fran: [EMAIL
Hello,
I need to have my EJB perform some DB operation at midnight everyday.
How do I do that?
In PC, I could create a timer object to do that with VC++, but in Java
it does not seem to have such a functionality. And I think it's ideal
to handle it in the server side rather than play with Java.
We use Flux. It was easy to integrate and it's reliable.
see:
http://www.simscomputing.com/
http://www.simscomputing.com/products/
- Original Message -
From: [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Saturday, March 03, 2001 12:43 PM
Subject: How to set orion to
Or you could start a daemon thread in a servlet to perform as cron; we do
that to initialize services we need. Flux is great too, but it's out of my
budget... ;-)
-Original Message-
From: Mike Sick [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 03, 2001 3:19 PM
To: Orion-Interest
I think,
the most clean approach would be to have a cron job which starts an EJB
client every time.
Bye,
Falk
- Original Message -
From: [EMAIL PROTECTED]
I need to have my EJB perform some DB operation at midnight everyday.
How do I do that?
15 matches
Mail list logo