Skip to content

Clear Tokens with the new scheduler bundle #185

Open
@jp-insitaction

Description

@jp-insitaction

Hello,

I'm trying to set up a recurring task with the new Symfony Scheduler bundle, to do this, I need to add this attribute to the command.

#[AsPeriodicTask('2 days', schedule: 'default')]

It's impossible to create a command that extends the "ClearExpiredTokensCommand" command, as the class is final.
Is it possible to make this class non-final?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions