function lassie_check_all

7.x lassie.module lassie_check_all()
6.x lassie.module lassie_check_all()

Check all of the jobs we are currently waiting on.

1 call to lassie_check_all()
lassie_cron in modules/lassie/lassie.module
Implements hook_cron

File

modules/lassie/lassie.module, line 129
This is the primary module file for the lassie module.

Code

function lassie_check_all() {

  $res = db_query("SELECT * FROM variables WHERE name LIKE 'lassie_job__%' ");
  while ($cur = db_fetch_array($res)) {
    $name = $cur ['name'];
    $job_name = str_replace("lassie_job__", "", $name);
    lassie_check($job_name);
  }
}