What is the best solution to perform scheduled tasks in Java, whatever the OS?

后端 未结 5 1470
遥遥无期
遥遥无期 2021-02-04 16:31

I\'d like to generate alarms on my Java desktop application :

  • alarms set with a specific date/time which can be in 5 minutes or 5 months
  • I need to be able
5条回答
  •  無奈伤痛
    2021-02-04 17:35

    You can also try using Quartz http://quartz-scheduler.org/ . It has a CRON like syntax to schedule jobs.

提交回复
热议问题