Couchdb based scheduler