--- job_queue.module 2007-08-02 13:09:55.000000000 -0700 +++ job_queue.module 2007-09-03 18:02:20.000000000 -0700 @@ -59,7 +59,9 @@ function job_queue_dequeue() { $result = db_query_range('SELECT jqid, description, function, arguments, file FROM {job_queue} ORDER BY jqid', 0, 1); if (db_num_rows($result) > 0) { $job = db_fetch_object($result); - include_once $job->file; + if ($job->file) { + include_once $job->file; + } if (function_exists($job->function)) { call_user_func_array($job->function, unserialize($job->arguments)); watchdog('job_queue', t('Ran queued job "!description"', array('!description' => $job->description)));