Karta. Reports. Sending. Planner
(Karta v1.0.0)
Plans the reports of the last two UTC days, daily: for each kind that
is on, one run (Karta.Reports.Sending.Run) for each domain it has
something to report about. A run is unique per kind, domain and day, so
planning a day again, or on two nodes, plans it once; the second day
makes up for a day the job did not run.
With no reporting identity (Karta.Reports.Sending.identity/0) nothing
is planned.
Summary
Functions
@spec plan(DateTime.t()) :: non_neg_integer()
Plans the two days before now. Returns how many runs were made.