# Loudcron: Scheduled jobs that cannot fail in silence

> Installs a recurring job with preflight checks, a lock, retries and alerts on failure, ships a pruner in the same change, then confirms real output from a manual run and the first two scheduled runs.

Loudcron: Scheduled jobs that cannot fail in silence is a paid AI agent skill on Agensi by MAJI, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [MAJI](https://www.agensi.io/creators/maji)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/loudcron-scheduled-jobs-that-cannot-fail-in-silence
- Tags: automation, devops, cron, bash

## About this skill

A scheduled job can look healthy for weeks while doing nothing. A secret was never set, a login session expired, or one of four sources quietly stopped, and the only signal is a log file nobody reads, growing without limit. Loudcron installs a recurring job as one unit (runner, schedule, guards, alert, pruner and retire path) and gives a safe ritual for sweeping what piles up.

### What it does
- **Job script rules**: idempotent, `--dry-run`, non-zero exit on full or partial failure.
- **Runner choice**: local (launchd, cron, systemd timer) only when it needs your machine; cloud (Vercel cron, GitHub Actions, a scheduled cloud machine, pg_cron) when it must be reliable.
- **Preflight** checks secrets, session, account and permissions and fails loudly on the first gap.
- **Guards**: lock file, max attempts, timeout, stale-PID detection and an end date for batch jobs.
- **Alerts** on state changes through a desktop notification and a Telegram bot.
- **Pruner in the same change**: log rotation, table retention, or move-only with a manifest.
- **Optional audit trail**: a hash-chained JSONL log for jobs that act on their own, with rotation and no secret values.

### How it works
1. **Install**: write the script, pick and register the runner, with fail-closed auth for cloud cron.
2. **Harden**: preflight, guards, alert and pruner, plus a registry entry with re-enable steps.
3. **Verify**: a manual trigger, then real output from the first two scheduled runs.
4. **Diagnose**: log and exit code first, then the runner and system checks.
5. **Sweep and retire**: read-only audit, keep, stop or remove by bucket, move-only, manifest.

### Frameworks & tools
launchd, cron, systemd timers, Vercel cron, GitHub Actions, supercronic, pg_cron, `osascript` and the Telegram Bot API.

### Why this beats prompting it yourself
A quick prompt writes a crontab line. This skill does not count a job as done until an alert fired in a test, a pruner shipped with it, and real output landed. Its guards come from real runs, such as a cloud cron that failed 178 times because a secret was never set.

### Use cases
- **Data refresh** or an hourly scrape with per-source counts.
- **Deferred publishing** from a queue.
- **Ops watchdog** for uptime, freshness and budget.
- **Monthly tidy** of files and cloud clutter.

### Known limitations
Not for one-off tasks. Local jobs run only while the machine is on. Stopping processes, retiring jobs or emptying trash happens per bucket after you approve.

## Requires

- launchd
- cron
- systemd timer
- Vercel cron
- GitHub Actions
- pg_cron
- Telegram Bot API

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Loudcron: Scheduled jobs that cannot fail in silence skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does it need?

The job's script or what it should do, and access to the chosen runner (local launchd, cron or systemd, or a cloud runner such as Vercel cron, GitHub Actions or pg_cron). Alerts use a desktop notification and a Telegram bot.

### Will it delete my files or stop processes during a sweep?

Not on its own. The sweep starts read-only, proposes keep, stop or remove by bucket, asks per bucket, and moves files instead of deleting them, with a manifest and re-enable notes.

### How is this different from asking an agent for a cron line?

It ships the alert, the guards and the pruner in the same change, and only counts the job as done after a manual run and the first two scheduled runs produce real output.

### What is in the zip?

SKILL.md, the instructions your agent follows, and LICENSE.md.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
