docs: function bot(job, done) {
  
    console.log(job.data)
    console.log('Running : ' + job.data.title)
    var cmd = job.data.cmd
    console.log(cmd)
    var interval = job.data.interval || defaultInterval
    console.log('interval is', interval)
  
    if (cmd) {
      child_process.exec(cmd, function(err, stdout, stderr){
        if (err) {
          console.error('error')
          console.error(err)
          setTimeout(done, interval*0)
  
        } else {
          console.log(stdout)
          console.error(stderr)
          setTimeout(done, interval*1000)
  
        }
      })
    } else {
      console.log('no command found')
      setTimeout(done, interval*0)
    }
  
    var uri = job.data.uri
    var cert = job.data.cert
  
    if (uri) {
      checkInbox(uri, cert)
    }
  
  }