Skip to content

Invalid @Scheduled definition for method: void backgroundRenewal() - Error Invalid initial delay definition: 24h in I #430

@stefanofornari

Description

@stefanofornari

Expected Behavior

I am following the guide https://micronaut-projects.github.io/micronaut-acme/latest/guide/index.html to enable ACME in my application,

Actual Behaviour

I am getting the error:

Error processing bean method Definition: io.micronaut.acme.background.AcmeCertRefresherTask.void backgroundRenewal() with processor (io.micronaut.scheduling.processor.ScheduledMethodProcessor@77c8a15f): Invalid @Scheduled definition for method: void backgroundRenewal() - Reason: Invalid initial delay definition: 24h
io.micronaut.scheduling.exceptions.SchedulerConfigurationException: Invalid @Scheduled definition for method: void backgroundRenewal() - Reason: Invalid initial delay definition: 24h

Steps To Reproduce

As per the guide

Environment Information

not relevant

Example Application

No response

Version

4.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions