private function find_unscheduled_jobs($new, $old)
{
$differences = array();
$old = collapse_events_array($old);
foreach ($old as $event) {
$timestamp = $event['timestamp'];
$action = $event['action'];
$instance = $event['instance'];
if (!isset($new[$timestamp][$action][$instance])) {
$differences[] = array('timestamp' => $timestamp, 'action' => $action, 'instance' => $instance);
}
}
return $differences;
}