<p>I'm using Shedlock version 4.22.0 with JDBC integration.
I have one configuration class</p>
<pre><code>@Configuration
@EnableScheduling
@EnableSchedulerLock(defaultLockAtMostFor = &quot;PT30S&quot;)
public class ShedLockConfiguration {
   @Bean
   public LockProvider lockProvider(DataSource dataSource) {
        return new JdbcTemplateLockProvider(dataSource);
   }
}
</code></pre>
<p>For execution I'm using annotation @SchedulerLock
eg.</p>
<pre><code>@SchedulerLock(name = &quot;MyTask&quot;, lockAtMostFor = &quot;PT1M&quot;, lockAtLeastFor = &quot;PT1M&quot;)
</code></pre>
<p>Everything works perfectly on a local PC but when app is deployed on Kubernetes (AKS), no task are triggered. Logs are empty. App after startup does nothing</p>
<p>I added also debug to spring configuration on</p>
<pre><code>logging:
  level:
    net.javacrumbs.shedlock: DEBUG
</code></pre>
<p>Nothing is logged</p>

Bożek Mariusz
<p>I solved issue. The problem was with timezone on server. Task was locked 1h ahead because of diffrent timezone on my local PC. I removed all rows from shedlock table</p>
