How can I automatically invoke a servlet periodically at specified time intervals, like cron?
1. Schedule a servlet to load on server startup. See How can I set a servlet to load on startup of the container, rather than on the first request?
2. In this servlet's init() method, spawn a thread.
The java.util.Timer class can help a lot. SeeHow can I automatically invoke a servlet at regular time intervals using Resin?