/**
  * TODO
  *
  * @return \Magento\Framework\View\Result\PageFactory
  */
 public function execute()
 {
     $formKey = $this->formKey->getFormKey();
     try {
         $cronjobs = $this->cronData->getCronjobData();
         $result = ['cronjobs' => $cronjobs, 'form_key' => $formKey];
         echo json_encode($result, true);
     } catch (\Exception $e) {
         $result = ['cronjobs' => [], 'form_key' => $formKey];
         echo json_encode($result, true);
     }
 }
 public function getCronjobGroups()
 {
     return $this->cronData->getCronjobGroups();
 }