protected function schedule_next_instance(ActionScheduler_Action $action)
 {
     $next = $action->get_schedule()->next(new DateTime());
     if ($next) {
         $this->store->save_action($action, $next);
     }
 }
 protected function schedule_next_instance(ActionScheduler_Action $action)
 {
     $next = $action->get_schedule()->next(as_get_datetime_object());
     if ($next) {
         $this->store->save_action($action, $next);
     }
 }