Notifications

crab.notify

class crab.notify.CrabNotifyJob(n, start, end)
end

Alias for field number 2

n

Alias for field number 0

start

Alias for field number 1

class crab.notify.CrabNotify(config, store)

Class for sending notification messages.

crab.notify.email

class crab.notify.email.CrabNotifyEmail(crab_home, base_url, config_email)

Class to send notification messages by email.

crab.report

class crab.report.CrabReportJob(id_, start, end, skip_ok, skip_warning, skip_error, include_output)
end

Alias for field number 2

id_

Alias for field number 0

include_output

Alias for field number 6

skip_error

Alias for field number 5

skip_ok

Alias for field number 3

skip_warning

Alias for field number 4

start

Alias for field number 1

class crab.report.CrabReport(num, error, warning, ok, info, events, stdout, stderr)
error

Alias for field number 1

events

Alias for field number 5

info

Alias for field number 4

num

Alias for field number 0

ok

Alias for field number 3

stderr

Alias for field number 7

stdout

Alias for field number 6

warning

Alias for field number 2

class crab.report.CrabReportGenerator(store, **kwargs)

Class for generating reports on the operation of cron jobs.

This class maintains a cache of job information and events to allow it to handle multiple report requests in an efficient manner. This depends on a single configuration, so methods for adjusting the filtering are not provided.

crab.report.text

crab.report.text.report_to_text(report, event_list=True)

crab.report.html

crab.report.html.report_to_html(report, home, base_url)