You are here

function _ultimate_cron_job_load in Ultimate Cron 7.2

CTools Export load callback.

Parameters

string $name: Name of the job to load.

bool $reset: (optional) Reset the ctools export object cache.

Return value

UltimateCronJob The job loaded.

16 calls to _ultimate_cron_job_load()
drush_ultimate_cron_cron_disable in ./ultimate_cron.drush.inc
Disable a cron job.
drush_ultimate_cron_cron_enable in ./ultimate_cron.drush.inc
Enable a cron job.
drush_ultimate_cron_cron_job_get in ./ultimate_cron.drush.inc
Get a cron jobs configuration.
drush_ultimate_cron_cron_job_set in ./ultimate_cron.drush.inc
Set a cron jobs configuration.
drush_ultimate_cron_cron_logs in ./ultimate_cron.drush.inc
List cron jobs.

... See full list

2 string references to '_ultimate_cron_job_load'
ultimate_cron_schema in ./ultimate_cron.install
Implements hook_schema().
ultimate_cron_update_7200 in ./ultimate_cron.install
Rename columns and indices to 2.x style.

File

./ultimate_cron.module, line 366

Code

function _ultimate_cron_job_load($name, $reset = FALSE) {
  $jobs = _ultimate_cron_job_load_all($reset);
  return isset($jobs[$name]) ? $jobs[$name] : FALSE;
}