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 -
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..
Or if
you're using JDK 1.3 there's always java.util.Timer (vastly underused
IMHO).
-mike
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus
RydinSent: Monday, March 05, 2001 7:08
Title: SV: How to set orion to perform a timely task..
We use
a client application that runs in the orion vm that uses a scheduledTIMER
- they've been added in JDK1.3
Timer t = new
Timer(true); t.schedule(new Job(), 0,
20);
Jaco
-Original Message-From:
[EMAIL PROTECTED]
Title: SV: How to set orion to perform a timely task..
We use
a client application that runs in the orion vm that uses a scheduledTIMER
- they've been added in JDK1.3
Timer t = new
Timer(true); t.schedule(new Job(), 0,
20);
Jaco
-Original Message-From:
[EMAIL PROTECTED]
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?
12 matches
Mail list logo