mirror of
https://github.com/LamGC/Oracle-Sentry.git
synced 2025-07-04 06:17:27 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
c2aa02cae3
|
|||
284f0229f7
|
@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
group 'net.lamgc.oracle'
|
||||
version '0.1.0'
|
||||
version '0.1.1'
|
||||
compileJava.sourceCompatibility = JavaVersion.VERSION_16
|
||||
|
||||
repositories {
|
||||
|
@ -25,6 +25,7 @@ public class TimerTrigger implements GroovyTrigger {
|
||||
.setNameFormat("Groovy-TimerTrigger-%d")
|
||||
.build());
|
||||
SCHEDULER.setErrorHandler(t -> log.error("脚本执行时发生异常.", t));
|
||||
SCHEDULER.initialize();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user