mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-26 13:46:19 +00:00
[AB-94] adding possibility to reference member/role/channel via name for parameters
showing an embed for parameter handling exceptions adding discord webhook for build status
This commit is contained in:
@@ -26,7 +26,7 @@ public class SchedulerStartupService {
|
||||
@EventListener
|
||||
@Transactional(isolation = Isolation.SERIALIZABLE)
|
||||
public void handleContextRefreshEvent(ContextRefreshedEvent ctxStartEvt) {
|
||||
schedulerJobManagementServiceBean.findAll().forEach((schedulerJob) -> {
|
||||
schedulerJobManagementServiceBean.findAll().forEach(schedulerJob -> {
|
||||
if(!schedulerJobManagementServiceBean.doesJobExist(schedulerJob) || !schedulerJobManagementServiceBean.isJobDefinitionTheSame(schedulerJob)) {
|
||||
schedulerJobManagementServiceBean.createOrUpdate(schedulerJob);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user