Re: How to set orion to perform a timely task.. (CRON???)

2001-03-06 Thread Robert S. Sfeir
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 -

Re[2]: SV: How to set orion to perform a timely task..

2001-03-06 Thread Rafael Alvarez
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,

Re: How to set orion to perform a timely task.. (CRON???)

2001-03-06 Thread Mike Sick
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

Re: How to set orion to perform a timely task.. (CRON???)

2001-03-06 Thread Joseph B. Ottinger
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

RE: How to set orion to perform a timely task..

2001-03-06 Thread Conrad Chan
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

Re: How to set orion to perform a timely task.. (CRON???)

2001-03-06 Thread Tim Endres
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

RE: How to set orion to perform a timely task.. (CRON???)

2001-03-06 Thread Juan Lorandi (Chile)
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

SV: How to set orion to perform a timely task..

2001-03-05 Thread Magnus Rydin
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

RE: How to set orion to perform a timely task..

2001-03-05 Thread Mike Cannon-Brookes
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

RE: How to set orion to perform a timely task..

2001-03-05 Thread Jaco van Rooijen
] [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

RE: How to set orion to perform a timely task..

2001-03-05 Thread Jaco van Rooijen
] [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

How to set orion to perform a timely task..

2001-03-03 Thread orion
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.

Re: How to set orion to perform a timely task..

2001-03-03 Thread Mike Sick
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

RE: How to set orion to perform a timely task..

2001-03-03 Thread Juan Lorandi (Chile)
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

Re: How to set orion to perform a timely task..

2001-03-03 Thread Falk Langhammer
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?