run-at is 2.4 spec and I think Tomcat 4 _IS_NOT_ Servlet 2.4 spec
My guess it will work in Tomcat 5.0.X and above.
Comments?
Mark.
--- Dwayne Ghant <[EMAIL PROTECTED]> wrote:
> Have fun I hope this helps!!! It should.
>
> <web-app id='/'>
>
> <servlet servlet-name='hello'
> servlet-class='test.HelloWorld'>
> <load-on-startup/>
> </servlet>
>
> </web-app>
>
> The value is a list of 24-hour times when the servlet should be
> automatically executed. To run the servlet every 6 hours, you could
> use:
>
>
> <servlet servlet-name='test.HelloWorld'>
> <run-at>0:00, 6:00, 12:00, 18:00</run-at>
> </servlet>
>
>
>
> Frank W. Zammetti wrote:
>
> > Your just lending weight to what I said... Don't play with
> threads in
> > a servlet contain unless your really sure you have to and are
> really
> > sure you can do it safely :)
> >
> > (I'm not sure I knew init() could be called more than once,
> certainly
> > I didn't remember when I wrote that, so excellent point)
> >
>
>
> --
>
> Dwayne A. Ghant
> Application Developer
> Temple University
> 215.204.5555
> [EMAIL PROTECTED]
>
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]