'Get information about the scheduler'

def run(self):

    try:
        last_backlog = [x[u'doc'] for x in sickrage.srCore.mainDB.db.all(u'info', with_doc=True)][0][u'last_backlog']
    except:
        last_backlog = 1
    backlogPaused = sickrage.srCore.SEARCHQUEUE.is_backlog_paused()
    backlogRunning = sickrage.srCore.SEARCHQUEUE.is_backlog_in_progress()
    nextBacklog = sickrage.srCore.BACKLOGSEARCHER.nextRun().strftime(dateFormat).decode(sickrage.SYS_ENCODING)
    data = {u'backlog_is_paused': int(backlogPaused), u'backlog_is_running': int(backlogRunning), u'last_backlog': _ordinal_to_dateForm(last_backlog), u'next_backlog': nextBacklog}
    return _responds(RESULT_SUCCESS, data)
