Scheduled Task is queued and not scheduled

I have created a scheduled task but in database it shows that the status is queued instead of scheduled. I have followed the following tutorial:

How to fix this?

Are Cronjobs running?

when i wrote bin/console messenger:consume
I could see the other scheduled tasks running so yes I guess they are running.

Did you register the task?

It is in the last section of the documentation you referred to.

Executing the scheduled task

I did. I am running it on localhost. Could this be an issue?

If you status is queued, maybe it already run, failed and was queued again to rerun?

Wann happens if you delete alle messages except your task?