← Back to directory

Lint a whole crontab (user or system format): field syntax and ranges, @macros, ...

https://code.halowerk.com/v1/crontab-lint

Overview

Lint a whole crontab (user or system format): field syntax and ranges, @macros, unescaped %, missing final newline, PATH/MAILTO pitfalls, schedules that never fire, many jobs starting in the same minute and jobs that can overlap themselves.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider code
Source bazaar
Indexed 2026-11-20 13:00:15

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "crontab": "MAILTO=\"\"\n*/5 * * * * /usr/local/bin/sync.sh\n0 2 * * * backup.sh --date=$(date +%F)\n", "durations": [ { "line": 2, "minutes": 12 } ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Semantics of Vixie/Debian cron; cronie, busybox and systemd timers differ in details (e.g. CRON_TZ).", "The horizon is evaluated in UTC wall-clock minutes; daylight-saving shifts of the server time zone are not simulated (see cron-explain).", "Overlap detection needs the expected run time per job; commands are not executed." ], "result": { "entries": [ { "line": 2, "next_runs": [ "2026-11-19T15:10:00.000Z", "2026-11-19T15:15:00.000Z", "2026-11-19T15:20:00.000Z" ], "program": "sync.sh", "runs_in_horizon": 2016, "schedule": "*/5 * * * *", "user": null }, { "line": 3, "next_runs": [ "2026-11-20T02:00:00.000Z", "2026-11-21T02:00:00.000Z", "2026-11-22T02:00:00.000Z" ], "program": "backup.sh", "runs_in_horizon": 7, "schedule": "0 2 * * *", "user": null } ], "environment": { "MAILTO": "" }, "findings": [ { "line": 2, "message": "Runs can be 5 minute(s) apart but the job takes about 12 minutes and uses no lock (e.g. flock -n); runs will overlap.", "rule": "possible_self_overlap", "severity": "medium", "source": "https://manpages.debian.org/trixie/cron/crontab.5.en.html" }, { "line": 3, "message": "Unescaped % becomes a newline and everything after the first % is sent to stdin (escape as \\%).", "rule": "unescaped_percent", "severity": "medium", "source": "https://manpages.debian.org/trixie/cron/crontab.5.en.html" }, { "line": 3, "message": "backup.sh is found via the default PATH /usr/bin:/bin only; binaries in /usr/local/bin or /usr/sbin are not found. Use an absolute path or set PATH.", "rule": "default_path", "severity": "low", "source": "https://sources.debian.org/src/cron/3.0pl1-197/pathnames.h/" } ], "horizon": { "days": 7, "start": "2026-11-19T15:07:00.000Z", "time_zone": "UTC" }, "summary": { "critical": 0, "high": 0, "info": 0, "low": 1, "medium": 2 } }, "service": "crontab-lint", "status": "success" }, "type": "json" }