services: mcron: Validate jobs at build time.
authorLudovic Courtès <ludo@gnu.org>
Tue, 25 Aug 2020 19:31:37 +0000 (21:31 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 25 Aug 2020 22:51:56 +0000 (00:51 +0200)
commit949672c923b6a3953471c446e0b19f30be335572
tree3a5a000fe94f80744ddc6c43a7422d12e731258a
parent4788e5542025ba82e03e02d49a04416292d1fccb
services: mcron: Validate jobs at build time.

That way, run-time errors in the job specs are caught at build time.

* gnu/services/mcron.scm (job-file): Remove.
(job-files): New procedure.
(mcron-shepherd-services): Adjust accordingly.
gnu/services/mcron.scm