Commit Graph

5 Commits

Author SHA1 Message Date
Sebastian Sdorra
8108d9f76e do not ignore InterruptedException, re-interrupt method instead 2019-06-26 14:50:23 +02:00
René Pfeuffer
1e586b020c Make sure task is not executed after is has cancelled himself 2019-06-24 17:51:38 +02:00
Sebastian Sdorra
3c373a4c4d replace QuartzScheduler with a more lightweight scheduler
The new scheduler is based on the cron-utils package and uses the same cron syntax as quartz.
CronScheduler was mainly introduced, because of a ClassLoader leak with the old Quartz implementation.
The leak comes from shiros use of InheriatableThreadLocal in combination with the WorkerThreads of Quartz.
CronScheduler uses a ThreadFactory which clears the Shiro context before a new Thread is created (see CronThreadFactory).
2019-06-05 16:15:06 +02:00
Sebastian Sdorra
fc6287fd40 remove deprecations and fixed some compiler warnings 2017-01-12 20:02:06 +01:00
Sebastian Sdorra
13bea6e502 implemented small scheduler engine 2016-05-25 16:32:25 +02:00