mcron/doc
Mathieu Lirzin ac39c00859
base: Add '<schedule>' record data type
Reifying the notion of a schedule helps reasoning about the code.
Passing a schedule as an argument to related procedures allows writing
simpler unit tests.

* src/mcron/base.scm(<schedule>): New record data type.
(make-schedule, schedule-user, set-schedule-user!)
(schedule-system, set-schedule-system!)
(schedule-current, set-schedule-current!): New procedures.
(system-job-list, user-job-list, configuration-source): Replace those
global variables with ...
(%global-schedule): ... this global <schedule> instance.
* src/mcron/base.scm (use-system-job-list, use-user-job-list)
(remove-user-jobs, clear-system-jobs, add-job, find-next-jobs)
(display-schedule, run-job-loop): Add '#:SCHEDULE' keyword argument.
* doc/mcron.texi (The base module): Update documentation.
2018-03-24 01:18:15 +01:00
..
config.texi.in build: Fix build of the manual. 2016-05-07 11:32:17 +02:00
fdl.texi doc: Include a copy of the GNU FDL. 2016-05-07 11:32:18 +02:00
mcron.texi base: Add '<schedule>' record data type 2018-03-24 01:18:15 +01:00