Java Executor in timerange at specific time -


i need call task every x hour in defined time range , repeat every day. idea calculate executions times delay current time , start each in seperated thread via scheduleatfixedrate , rate of 24 hours. has better idea?

regards

you can use library dedicated schedule code: quartz

it use cron syntax , can schedule job implementations.


Comments

Popular posts from this blog

apache - Cloudflare bug random 302 redirections -

java - Sql binding in Spring throws org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException -