getInactiveCronjobs() public méthode

Returns a list of all inactive cronjobs.
public getInactiveCronjobs ( $requiredCronjobs ) : array
Résultat array A string of cronjob names which aren't running
 /**
  * Returns the database schema status.
  *
  * This method is usuall called once the user logs in, and alerts him if the schema is not up-to-date.
  *
  * Returns either status incomplete if the schema is not up-to-date, or complete if everything is OK.
  */
 public function getSystemStatus()
 {
     if ($this->container->getParameter("partkeepr.cronjob_check")) {
         $inactiveCronjobs = $this->cronLoggerService->getInactiveCronjobs($this->container->getParameter("partkeepr.required_cronjobs"));
     } else {
         // Skip cronjob tests
         $inactiveCronjobs = array();
     }
     return array("inactiveCronjobCount" => count($inactiveCronjobs), "inactiveCronjobs" => $inactiveCronjobs, "schemaStatus" => $this->getSchemaStatus());
 }
 /**
  * Returns the database schema status.
  *
  * This method is usuall called once the user logs in, and alerts him if the schema is not up-to-date.
  *
  * Returns either status incomplete if the schema is not up-to-date, or complete if everything is OK.
  */
 public function getSystemStatus()
 {
     if ($this->container->getParameter('partkeepr.cronjob_check')) {
         $inactiveCronjobs = $this->cronLoggerService->getInactiveCronjobs($this->container->getParameter('partkeepr.required_cronjobs'));
     } else {
         // Skip cronjob tests
         $inactiveCronjobs = [];
     }
     return ['inactiveCronjobCount' => count($inactiveCronjobs), 'inactiveCronjobs' => $inactiveCronjobs, 'schemaStatus' => $this->getSchemaStatus()];
 }