Issue #2260017 by jonathan1055, Laurent Ren: Implement publish_immediately action for hook_scheduler_api().