← All Modules

assay.cron

Pure-Lua scheduled-job inspector. Walks the conventional cron locations plus systemd timers (via the systemd builtin) and returns a unified view. Plan 18 / v0.15.1.

local cron = require("assay.cron")

The crontab parser handles 5-field user crontabs, 6-field system crontabs (with the user column), and the @reboot / @daily / @hourly / @weekly / @monthly / @yearly / @midnight shorthand.

Environment-assignment lines (SHELL=/bin/sh) are skipped; comment lines and blank lines are ignored.