Dick,
I would first suggest to use a scheduler that is available on your O.S.  If
you are using Unix/Linux, the cron process should work.  On a Windows O.S.,
Task scheduler should work.  Just write an application that sends the
emails, and then schedule it to run at specified intervals w/ the scheduler
program.  Otherwise, you need to write your own scheduler.  You will
probably need to use the java.util.Timer and java.util.TimerTask classes.

Regards,

Richard



At 12:43 PM 11/28/2001 +0800, you wrote:
>how to write an javamail with auto send email based on the schedule ?
>The key question is how to set a schedule in Java ?
>Anyone can give me some hints ?
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to