Crontab Lint
by code.halowerk.com in Security & trust
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.
https://code.halowerk.com/v1/crontab-lint- Price
- $0.003
- per call in USDC
- Uptime
- 96.8%
- last 30 days
- Response time
- 125 ms
- 195 ms slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://code.halowerk.com/v1/crontab-lint
Each call costs $0.003 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://code.halowerk.com/v1/crontab-lint
content-type: application/json
{
"crontab": "MAILTO=\"\"\n*/5 * * * * /usr/local/bin/sync.sh\n0 2 * * * backup.sh --date=$(date +%F)\n",
"durations": [
{
"line": 2,
"minutes": 12
}
]
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
crontab | string | Yes | |
durations | array of object | No | |
horizon_days | integer | No | Default: 7. |
simultaneous_threshold | integer | No | Default: 3. |
start | string (date-time) | No | |
system | boolean | No | Default: false. |
Example response
The provider's example. We can't check it without paying.
Example response, 75 lines
{
"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"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://code.halowerk.com/v1/crontab-lint' \
-H 'content-type: application/json' \
--data-raw '{"crontab":"MAILTO=\"\"\n*/5 * * * * /usr/local/bin/sync.sh\n0 2 * * * backup.sh --date=$(date +%F)\n","durations":[{"line":2,"minutes":12}]}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://code.halowerk.com/v1/crontab-lint' \
-H 'content-type: application/json' \
--data-raw '{"crontab":"MAILTO=\"\"\n*/5 * * * * /usr/local/bin/sync.sh\n0 2 * * * backup.sh --date=$(date +%F)\n","durations":[{"line":2,"minutes":12}]}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fcode.halowerk.com%2Fv1%2Fcrontab-lint&method=POST
const res = await pay("https://code.halowerk.com/v1/crontab-lint", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"crontab": "MAILTO=\"\"\n*/5 * * * * /usr/local/bin/sync.sh\n0 2 * * * backup.sh --date=$(date +%F)\n",
"durations": [
{
"line": 2,
"minutes": 12
}
]
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://code.halowerk.com/v1/crontab-lint",
json={
"crontab": "MAILTO=\"\"\n*/5 * * * * /usr/local/bin/sync.sh\n0 2 * * * backup.sh --date=$(date +%F)\n",
"durations": [
{
"line": 2,
"minutes": 12,
},
],
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 195 ms | $0.003 |
| 12 h ago | Passed | 402 | 139 ms | $0.003 |
| 23 h ago | Passed | 402 | 121 ms | $0.003 |
| 33 h ago | Passed | 402 | 144 ms | $0.003 |
| 43 h ago | Passed | 402 | 127 ms | $0.003 |
Show 10 older checks
| 2 days ago | Passed | 402 | 277 ms | $0.003 |
| 3 days ago | Passed | 402 | 124 ms | $0.003 |
| 5 days ago | Timed out | - | - | - |
| 6 days ago | Passed | 402 | 133 ms | $0.003 |
| 6 days ago | Passed | 402 | 45 ms | $0.003 |
| 7 days ago | Passed | 402 | 125 ms | $0.003 |
| 7 days ago | Passed | 402 | 124 ms | $0.003 |
| 8 days ago | Passed | 402 | 41 ms | $0.003 |
| 8 days ago | Passed | 402 | 135 ms | $0.003 |
| 8 days ago | Passed | 402 | 133 ms | $0.003 |