kvarnerexpress 0 Report post Posted March 7, 2006 I have a web app deployed in Tomcat and I was wondering if it is possible so that at midnight every night, the server collects information and sends an email. Collecting the information and sending the email is no trouble. What I can't figure out is how to make the server execute this task at midnight each night without a user having to do anything. Is it possible to schedule a task for a Java web app to run? Share this post Link to post Share on other sites
moldboy 0 Report post Posted March 7, 2006 I'm not sure how, but look into how cronjobs work. Share this post Link to post Share on other sites
beeseven 0 Report post Posted March 7, 2006 You can use cron jobs to do that. There's a tutorial on it here: http://forums.xisto.com/topic/6321-cron-jobs-cron-jobs-in-cpanel-cron-jobs-cron-jobs-using-php/ Share this post Link to post Share on other sites