libnrdpd.schedule

Core scheduling and execution.

class libnrdpd.schedule.Schedule(cfg)[source]

Bases: object

Handle scheduling of checks

Parameters

cfg (libnrdpd.config.Config) – Config object

Raises

ValueError – Raised when incoming cfg is of the wrong type.

loop()[source]

Main engine for the nrdpd daemon.

Run in a loop forever executing checks and submitting them.

sort()[source]

Re-sort the queue for processing