Metawerx Java Hosting Small Logo

<run-at>

This tag specifies the time of day a particular servlet should automatically be called.

The tag is only valid for the Resin servlet container, and is not part of the official specification, so cannot be used with Tomcat, or containers that embed Tomcat such as JBoss or Geronimo.

The value is a list of times in 24 hour notation. At each time specified, the service() method of the servlet will be called.

If no <run-at> value is specified, the servlet will only be called when requested, or during the container initialisation if <load-on-startup> is specified.

Example

<!-- Call the servlet every 6 hours -->
<run-at>0:00, 6:00, 12:00, 18:00</run-at>

Parent Tag

See Also

navigation
metawerx specific
search
Share
tools
help

referring pages

Share