PhpUnit tests show that the function normally works. Recent results can be seen here.
Perhaps you have an old plugin using a wrong namespace or that is incompatible with php7.4? A good place to search is the overview of scheduled tasks (admin/tool/task/scheduledtasks.php). Find your task that has never run and that is not disabled. Enable debugging and try to run the task manually.