Description
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
With the stable release of the Symfony Scheduler (exp. since 6.3) component right around the corner, we should keep into account that soon we will be able to use that to handle scheduling and handling of commands.
Therefore, it might be wise to already start thinking about this, when changing or adding current features to this project.
I think the Scheduler component will be able to remove a lot of code from this repo, and therefore would be the clear better choice in the future.
As a quick example, the logic used to check if a command should be scheduled to run, and when, can be condensed into this single line:
(new Schedule())->add(RecurringMessage::cron($command->getCronExpression(), new CommandMessage($command)));
If you would like any help on making this happen, let me know, and i'd love to help out with the transition