scheduler api improvements and one fix
scheduler api improvements and one fix

eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql