Web

crab.web.web

crab.web.web.empty_to_none(value)
class crab.web.web.CrabWebBase(bus)
subscribe()
class crab.web.web.CrabWebQuery

CherryPy handler class for the JSON query part of the crab web interface.

jobstatus(startid, alarmid, finishid)

CherryPy handler returning the job status dict fetched from the monitor thread.

jobinfo(id_)

CherryPy handler returning the job information for the given job.

class crab.web.web.CrabWeb(crab_home, options)

CherryPy handler for the HTML part of the crab web interface.

subscribe()
index()

Displays the main crab dashboard.

job(id_, command=None, finishid=None, barerows=None, unfiltered=None, limit=None, enddate=None, submit_config=None, submit_relink=None, submit_confirm=None, submit_cancel=None, orphan=None, graceperiod=None, timeout=None, success_pattern=None, warning_pattern=None, fail_pattern=None, note=None, inhibit=None, crabid=None, submit_notify=None, **kwargs)

Displays information about a current job.

Currently also supports showing the job output. If command=’output’ but the finishid is not provided, then it will find the most recent output for the given job.

user(user)

Displays crontabs belonging to a particular user.

host(host)

Displays crontabs belonging to a particular user.

notify(submit_notify=None, **kwargs)

Allows match-based notifications to be viewed and configured.

dynres(name)