   # TODO what is best default refresh for job? And should it change from current use as days down to ms?
   job.args = JSON.stringify(job.args) if job.args? and typeof job.args isnt 'string' # store args as string so can handle multiple types
   imports = []
+  reprocs = []
   for i of job.processes
     # processes list can contain string name of function to run, or else assumed to be different args for the overall job function
     proc = if typeof job.processes[i] is 'string' and job.processes[i].indexOf('API.') is 0 then {function: job.processes[i]} else (if typeof job.processes[i] is 'object' and job.processes[i].function? then job.processes[i] else {function: job.function, args:job.processes[i]})

    job_process.insert pn
  else if proc.order
    job_process.update {job: proc.job, order: proc.order+1}, {available:true}
  try
    job_job.each 'NOT done:true AND processes._id:' + proc._id, {_source:['processed','count']}, (job) ->
      job_job.update job._id, {processed:"+1"}
      if (job.processed ? 0) + 1 >= job.count
        API.job.complete job
  try
    if proc.callback
      cb = API

    jobs:
      count: job_job.count()
      done: job_job.count undefined, done:true
      oldest: {_id: jjo._id, createdAt: jjo.createdAt, created_date: jjo.created_date} if jjo = job_job.find('*', {sort:{createdAt:{order:'asc'}}})
      newest: {_id: jjn._id, createdAt: jjn.createdAt, created_date: jjn.created_date} if jjn = job_job.find('*', true)
    processes:
