This is version 3. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
lieltrocm

<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, JBoss or Geronimo (at least in current versions Tomcat 6.0.10, JBoss 5.0.0, Geronimo 2.0).

The value is a list of one or more times in 24 hour notation, comma separated. 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