Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear Tokens with the new scheduler bundle #185

Open
jp-insitaction opened this issue Apr 7, 2024 · 0 comments
Open

Clear Tokens with the new scheduler bundle #185

jp-insitaction opened this issue Apr 7, 2024 · 0 comments

Comments

@jp-insitaction
Copy link

jp-insitaction commented Apr 7, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant