[Fix] Fixed reloading of jobs

This commit is contained in:
Robert von Burg 2020-05-03 00:00:25 +02:00
parent 25761677c2
commit 1398bdd0e7
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public class StrolchJobsHandler extends StrolchComponent {
StrolchAgent agent = getContainer().getAgent();
ReloadJobsJob reloadJobsJob = new ReloadJobsJob(agent, ReloadJobsJob.class.getSimpleName(),
ReloadJobsJob.class.getSimpleName(), JobMode.Manual);
reloadJobsJob.setConfigureMethod(ConfigureMethod.Programmatic);
reloadJobsJob.setConfigureMethod(ConfigureMethod.Model);
jobs.add(reloadJobsJob);
this.jobs = new HashMap<>();