diff --git a/history/taskana-simplehistory-provider/src/test/resources/taskana.properties b/history/taskana-simplehistory-provider/src/test/resources/taskana.properties index 3663460b9..c7ac38d55 100644 --- a/history/taskana-simplehistory-provider/src/test/resources/taskana.properties +++ b/history/taskana-simplehistory-provider/src/test/resources/taskana.properties @@ -29,11 +29,11 @@ taskana.workingTime.timezone=UTC # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=false -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=true diff --git a/lib/taskana-cdi/src/test/resources/taskana.properties b/lib/taskana-cdi/src/test/resources/taskana.properties index 799c69696..1fe7a119e 100644 --- a/lib/taskana-cdi/src/test/resources/taskana.properties +++ b/lib/taskana-cdi/src/test/resources/taskana.properties @@ -5,11 +5,11 @@ taskana.classification.categories.T1=DEFAULT # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=true -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100 # sleeping time befor the next job runs taskana.jobs.scheduler.period=1 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=true diff --git a/lib/taskana-core-test/src/test/java/acceptance/TaskanaConfigurationTest.java b/lib/taskana-core-test/src/test/java/acceptance/TaskanaConfigurationTest.java index 6c9485558..76c0abb3b 100644 --- a/lib/taskana-core-test/src/test/java/acceptance/TaskanaConfigurationTest.java +++ b/lib/taskana-core-test/src/test/java/acceptance/TaskanaConfigurationTest.java @@ -115,7 +115,7 @@ class TaskanaConfigurationTest { assertThat(configuration.getLogHistoryLoggerName()).isNull(); // job configuration assertThat(configuration.isJobSchedulerEnabled()).isTrue(); - assertThat(configuration.getJobSchedulerInitialStartDelay()).isEqualTo(100); + assertThat(configuration.getJobSchedulerInitialStartDelay()).isEqualTo(0); assertThat(configuration.getJobSchedulerPeriod()).isEqualTo(5); assertThat(configuration.getJobSchedulerPeriodTimeUnit()).isEqualTo(TimeUnit.MINUTES); assertThat(configuration.getMaxNumberOfJobRetries()).isEqualTo(3); diff --git a/lib/taskana-core-test/src/test/resources/taskana.properties b/lib/taskana-core-test/src/test/resources/taskana.properties index 7d024174d..18165d337 100644 --- a/lib/taskana-core-test/src/test/resources/taskana.properties +++ b/lib/taskana-core-test/src/test/resources/taskana.properties @@ -22,11 +22,11 @@ taskana.query.includeLongName=false # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=true -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100000 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=false diff --git a/lib/taskana-core/src/main/java/pro/taskana/TaskanaConfiguration.java b/lib/taskana-core/src/main/java/pro/taskana/TaskanaConfiguration.java index c98c3de67..7bc1b65c6 100644 --- a/lib/taskana-core/src/main/java/pro/taskana/TaskanaConfiguration.java +++ b/lib/taskana-core/src/main/java/pro/taskana/TaskanaConfiguration.java @@ -694,7 +694,7 @@ public class TaskanaConfiguration { private boolean jobSchedulerEnabled = true; @TaskanaProperty("taskana.jobs.scheduler.initialStartDelay") - private long jobSchedulerInitialStartDelay = 100; + private long jobSchedulerInitialStartDelay = 0; @TaskanaProperty("taskana.jobs.scheduler.period") private long jobSchedulerPeriod = 5; diff --git a/lib/taskana-core/src/test/resources/taskana.properties b/lib/taskana-core/src/test/resources/taskana.properties index ff9b22ace..13a36ca45 100644 --- a/lib/taskana-core/src/test/resources/taskana.properties +++ b/lib/taskana-core/src/test/resources/taskana.properties @@ -28,11 +28,11 @@ taskana.workingTime.timezone=UTC # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=true -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100000 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=false diff --git a/lib/taskana-spring-example/src/main/resources/taskana.properties b/lib/taskana-spring-example/src/main/resources/taskana.properties index fcec55040..df061d993 100644 --- a/lib/taskana-spring-example/src/main/resources/taskana.properties +++ b/lib/taskana-spring-example/src/main/resources/taskana.properties @@ -19,11 +19,11 @@ taskana.jobs.history.cleanup.runEvery=P1D # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=false -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100000 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=false diff --git a/lib/taskana-spring-example/src/test/resources/taskana.properties b/lib/taskana-spring-example/src/test/resources/taskana.properties index 6cb7e5cb2..9bdc2de33 100644 --- a/lib/taskana-spring-example/src/test/resources/taskana.properties +++ b/lib/taskana-spring-example/src/test/resources/taskana.properties @@ -21,11 +21,11 @@ taskana.query.includeLongName=false # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=false -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100000 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=false diff --git a/lib/taskana-test-api/src/test/resources/taskana.properties b/lib/taskana-test-api/src/test/resources/taskana.properties index 01e80243c..e4daf65ee 100644 --- a/lib/taskana-test-api/src/test/resources/taskana.properties +++ b/lib/taskana-test-api/src/test/resources/taskana.properties @@ -21,11 +21,11 @@ taskana.query.includeLongName=false # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=false -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100000 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=false diff --git a/rest/taskana-rest-spring-example-boot/src/main/resources/taskana.properties b/rest/taskana-rest-spring-example-boot/src/main/resources/taskana.properties index dc4a7a7aa..2e6b3be97 100644 --- a/rest/taskana-rest-spring-example-boot/src/main/resources/taskana.properties +++ b/rest/taskana-rest-spring-example-boot/src/main/resources/taskana.properties @@ -26,11 +26,11 @@ taskana.routing.dmn=/dmn-table.dmn # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=false -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=true diff --git a/rest/taskana-rest-spring-example-common/src/test/resources/taskana.properties b/rest/taskana-rest-spring-example-common/src/test/resources/taskana.properties index b1590a7b1..a5d6e6f15 100644 --- a/rest/taskana-rest-spring-example-common/src/test/resources/taskana.properties +++ b/rest/taskana-rest-spring-example-common/src/test/resources/taskana.properties @@ -17,11 +17,11 @@ taskana.workingTime.holidays.german.enabled=true # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=false -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=true diff --git a/rest/taskana-rest-spring-example-wildfly/src/test/resources/taskana.properties b/rest/taskana-rest-spring-example-wildfly/src/test/resources/taskana.properties index 3567ab01e..6ec7e089f 100644 --- a/rest/taskana-rest-spring-example-wildfly/src/test/resources/taskana.properties +++ b/rest/taskana-rest-spring-example-wildfly/src/test/resources/taskana.properties @@ -22,11 +22,11 @@ taskana.history.logger.name=AUDIT # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=true -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=true diff --git a/rest/taskana-rest-spring/src/test/resources/mytaskana.properties b/rest/taskana-rest-spring/src/test/resources/mytaskana.properties index 9cca687b2..9b9c05918 100644 --- a/rest/taskana-rest-spring/src/test/resources/mytaskana.properties +++ b/rest/taskana-rest-spring/src/test/resources/mytaskana.properties @@ -19,11 +19,11 @@ taskana.history.simple.deleteOnTaskDeletion.enabled=true # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=false -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=true diff --git a/rest/taskana-rest-spring/src/test/resources/taskana.properties b/rest/taskana-rest-spring/src/test/resources/taskana.properties index 630cc6e8e..af769829f 100644 --- a/rest/taskana-rest-spring/src/test/resources/taskana.properties +++ b/rest/taskana-rest-spring/src/test/resources/taskana.properties @@ -18,11 +18,11 @@ taskana.history.simple.deleteOnTaskDeletion.enabled=true # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=false -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=true diff --git a/routing/taskana-routing-rest/src/test/resources/taskana.properties b/routing/taskana-routing-rest/src/test/resources/taskana.properties index 0e13728ec..0ed8b512a 100644 --- a/routing/taskana-routing-rest/src/test/resources/taskana.properties +++ b/routing/taskana-routing-rest/src/test/resources/taskana.properties @@ -18,11 +18,11 @@ taskana.history.simple.deleteOnTaskDeletion.enabled=true # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=false -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=true diff --git a/routing/taskana-spi-routing-dmn-router/src/test/resources/taskana.properties b/routing/taskana-spi-routing-dmn-router/src/test/resources/taskana.properties index d94e368b0..f76819297 100644 --- a/routing/taskana-spi-routing-dmn-router/src/test/resources/taskana.properties +++ b/routing/taskana-spi-routing-dmn-router/src/test/resources/taskana.properties @@ -24,11 +24,11 @@ taskana.routing.dmn=/empty.dmn # enable or disable the jobscheduler at all # set it to false and no jobs are running taskana.jobs.scheduler.enabled=false -# wait time before the first job run in millis +# wait time before the first job run taskana.jobs.scheduler.initialStartDelay=100 # sleeping time befor the next job runs taskana.jobs.scheduler.period=12 -# timeunit for the sleeping period +# timeunit for the initial start delay and the sleeping period # Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS taskana.jobs.scheduler.periodTimeUnit=HOURS taskana.jobs.cleanup.task.enable=true