Create Calendar PDF Queue Item.

create_cal_pdf.php
<?php

class NodeHouseCommitteeScheduleItemQueue extends ImportQueue {

  public function request($reset = FALSE, $pdf_request = FALSE) {
    parent::request($reset);

    if (!$pdf_request) {
      if (!empty($this->data->events)) {
        $this->data = $this->data->events;
      }
    } else {
      $this->data = $this->data->calendar_pdf;
    }
  }

  public function executeCronQueue() {
     // [deleted unnecessary code... ]
  
      //Need to pull across the schedule item PDF.
      $this->request(FALSE, TRUE);
      $url = $this->data;
      $cal_bean = bean_load(36);
      $bean_wrapper = entity_metadata_wrapper('bean', $cal_bean);
      $file_info = system_retrieve_file($url, 'public://', TRUE, FILE_EXISTS_REPLACE);
      if (!empty($file_info)) {
        $bean_wrapper->field_house_calendar->file->set($file_info);
        $bean_wrapper->save();
      }
      return parent::executeCronQueue(); // TODO: Change the autogenerated stub
  }
}