<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>

<p>Execution should be triggered by a <code>@Scheduled</code> <a href="https://spring.io/guides/gs/scheduling-tasks/" rel="nofollow noreferrer">annotation</a>. ShedLock only prevents parallel task execution, it does not schedule anything. If you have the <code>@Scheduled</code> annotation, check the <code>shedlock</code> table in the DB as described in <a href="https://github.com/lukas-krecan/ShedLock#troubleshooting" rel="nofollow noreferrer">troubleshooting</a>.</p>
