java - How to run a specific block of code automatically based on date and time? -
i wondering how make application execute specific part of code, example part of code send email on specific time , date?
i have read following questions none of answers correct have decided ask again vary old , not visible. in addition question executing part of code not sending email.
send-automatic-mail-on-specific-date-through-java
java-sending-mail-automatically
i not care framework should use solve 2 frameworks chosen.
please note, user should able manually, imagine user define time send number of emails or set timer reminder alarm on application.
i think using cron job executing block of code on particular time interval better option. meanwhile can go through cronmaker , quartz scheduler, have done better case.
Comments
Post a Comment