Rules Scheduler is only running its tasks on cron. But if you don't run cron very frequently (say every 30 minutes) then the scheduling becomes delayed.
For time critical tasks lite sending out tweets, publishing content or emails this deleyed is bad, or it's at least confusing (i.e.).
There are very good reasons for being able to process the
rules_scheduler_tasks queue separately. And the best way would of course be via Drush.
The attached patch adds Drush integration for Rules Scheduler with one command that:
- Adds schedules tasks to the queue
- Optionally claims and works on tasks for a specified amount of time
Some minor improvements can be made to the patch, like creating a common helper function shared between
drush_rules_scheduler_tasks() for adding tasks to the queue. But this is quick and low-impact patch for initial review.