'Get information about the scheduler'

def run(self):

    main_db_con = db.DBConnection(row_type=u'dict')
    sql_results = main_db_con.select(u'SELECT    last_backlog    FROM    info')
    backlog_paused = sickbeard.searchQueueScheduler.action.is_backlog_paused()
    backlog_running = sickbeard.searchQueueScheduler.action.is_backlog_in_progress()
    next_backlog = sickbeard.backlogSearchScheduler.nextRun().strftime(dateFormat).decode(sickbeard.SYS_ENCODING)
    data = {u'backlog_is_paused': int(backlog_paused), u'backlog_is_running': int(backlog_running), u'last_backlog': _ordinal_to_date_form(sql_results[0]['last_backlog']), u'next_backlog': next_backlog}
    return _responds(RESULT_SUCCESS, data)
