Claude-skill-registry cronlytic
Cronlytic cron job scheduler API via curl. Use this skill to create, manage, pause/resume scheduled HTTP requests and webhook automation.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/cronlytic" ~/.claude/skills/majiayu000-claude-skill-registry-cronlytic && rm -rf "$T"
manifest:
skills/data/cronlytic/SKILL.mdsource content
Cronlytic
Use Cronlytic via direct
curl calls to schedule and manage cron jobs that trigger HTTP requests/webhooks.
Official docs:
https://www.cronlytic.com/api-documentation
When to Use
Use this skill when you need to:
- Schedule recurring HTTP requests (webhooks, API calls)
- Automate background tasks without managing servers
- Create cron jobs with standard 5-field expressions
- Pause/resume jobs dynamically
- Monitor job execution via logs
Prerequisites
- Sign up at Cronlytic
- Go to Dashboard → API Keys → Generate New API Key
- Copy your API Key and User ID
export CRONLYTIC_API_KEY="your-api-key" export CRONLYTIC_USER_ID="your-user-id"
Base URL
https://api.cronlytic.com/prog/
Important: When using
in a command that pipes to another command, wrap the command containing$VARin$VAR. Due to a Claude Code bug, environment variables are silently cleared when pipes are used directly.bash -c '...'bash -c 'curl -s "https://api.example.com" -H "Authorization: Bearer $API_KEY"' | jq .
How to Use
1. Health Check (Ping)
Check if API is available (no auth required):
bash -c 'curl -s -X GET "https://api.cronlytic.com/prog/ping"'
Response:
{"message": "pong"}
2. Create a Cron Job
Create a scheduled job to call a webhook.
Write to
/tmp/cronlytic_request.json:
{ "name": "daily-backup", "url": "https://api.example.com/backup", "method": "POST", "headers": {"Authorization": "Bearer token123"}, "body": "{\"type\": \"full\"}", "cron_expression": "0 2 * * *" }
Then run:
bash -c 'curl -s -X POST "https://api.cronlytic.com/prog/jobs" -H "X-API-Key: ${CRONLYTIC_API_KEY}" -H "X-User-ID: ${CRONLYTIC_USER_ID}" -H "Content-Type: application/json" -d @/tmp/cronlytic_request.json' | jq '{job_id, name, status, next_run_at}'
3. Create GET Request Job
Simple health check every 5 minutes.
Write to
/tmp/cronlytic_request.json:
{ "name": "health-check", "url": "https://api.example.com/health", "method": "GET", "headers": {}, "body": "", "cron_expression": "*/5 * * * *" }
Then run:
bash -c 'curl -s -X POST "https://api.cronlytic.com/prog/jobs" -H "X-API-Key: ${CRONLYTIC_API_KEY}" -H "X-User-ID: ${CRONLYTIC_USER_ID}" -H "Content-Type: application/json" -d @/tmp/cronlytic_request.json' | jq '{name, status}'
4. List All Jobs
Get all your scheduled jobs:
bash -c 'curl -s -X GET "https://api.cronlytic.com/prog/jobs" -H "X-API-Key: ${CRONLYTIC_API_KEY}" -H "X-User-ID: ${CRONLYTIC_USER_ID}"' | jq '.[] | {job_id, name, status, cron_expression, next_run_at}'
5. Update a Job
Update an existing job (all fields required). Replace
<your-job-id> with the actual job ID:
Write to
/tmp/cronlytic_request.json:
{ "name": "daily-backup-v2", "url": "https://api.example.com/backup/v2", "method": "POST", "headers": {"Authorization": "Bearer newtoken"}, "body": "{\"type\": \"incremental\"}", "cron_expression": "0 3 * * *" }
Then run:
bash -c 'curl -s -X PUT "https://api.cronlytic.com/prog/jobs/<your-job-id>" -H "X-API-Key: ${CRONLYTIC_API_KEY}" -H "X-User-ID: ${CRONLYTIC_USER_ID}" -H "Content-Type: application/json" -d @/tmp/cronlytic_request.json' | jq '{job_id, name, status, next_run_at}'
6. Pause a Job
Stop a job from executing. Replace
<your-job-id> with the actual job ID:
bash -c 'curl -s -X POST "https://api.cronlytic.com/prog/jobs/<your-job-id>/pause" -H "X-API-Key: ${CRONLYTIC_API_KEY}" -H "X-User-ID: ${CRONLYTIC_USER_ID}"'
7. Resume a Job
Resume a paused job. Replace
<your-job-id> with the actual job ID:
bash -c 'curl -s -X POST "https://api.cronlytic.com/prog/jobs/<your-job-id>/resume" -H "X-API-Key: ${CRONLYTIC_API_KEY}" -H "X-User-ID: ${CRONLYTIC_USER_ID}"'
8. Get Job Logs
View execution history (last 50 entries). Replace
<your-job-id> with the actual job ID:
bash -c 'curl -s -X GET "https://api.cronlytic.com/prog/jobs/<your-job-id>/logs" -H "X-API-Key: ${CRONLYTIC_API_KEY}" -H "X-User-ID: ${CRONLYTIC_USER_ID}"' | jq '.logs[] | {timestamp, status, response_code, response_time}'
9. Delete a Job
Permanently delete a job and its logs. Replace
<your-job-id> with the actual job ID:
bash -c 'curl -s -X DELETE "https://api.cronlytic.com/prog/jobs/<your-job-id>" -H "X-API-Key: ${CRONLYTIC_API_KEY}" -H "X-User-ID: ${CRONLYTIC_USER_ID}"'
Cron Expression Format
Standard 5-field cron:
minute hour day month day-of-week
┌───────────── minute (0-59) │ ┌───────────── hour (0-23) │ │ ┌───────────── day of month (1-31) │ │ │ ┌───────────── month (1-12) │ │ │ │ ┌───────────── day of week (0-6, Sun=0) │ │ │ │ │ * * * * *
Common Examples
| Expression | Description |
|---|---|
| Every 5 minutes |
| Every hour at minute 0 |
| Daily at 9:00 AM |
| Weekdays at 9:00 AM |
| First day of month at midnight |
| Sunday at 2:30 PM |
| Every 6 hours |
Job Status Values
| Status | Description |
|---|---|
| Scheduled, waiting for next_run_at |
| Paused, won't execute |
| Last execution succeeded |
| Last execution failed |
| Skipped due to plan quota |
Create Job Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| string | Yes | Job name (1-50 chars, alphanumeric/-/_) |
| string | Yes | Target URL (HTTP/HTTPS) |
| string | Yes | HTTP method (GET, POST, PUT, DELETE) |
| object | Yes | Request headers (can be ) |
| string | Yes | Request body (can be ) |
| string | Yes | 5-field cron expression |
Job Name Rules
- Only letters, numbers, hyphens (
), underscores (-
)_ - Length: 1-50 characters
- Regex:
^[a-zA-Z0-9_-]+$
Valid:
my-job, test_job_1, API-Health-Check
Invalid: my job (space), test@job (@), api.health (.)
Response Fields
| Field | Description |
|---|---|
| Unique job identifier |
| Job name |
| Target URL |
| HTTP method |
| Current job status |
| Schedule expression |
| Next scheduled execution (ISO timestamp) |
| Creation timestamp |
Guidelines
- Ping first: Call
to warm up the API (Lambda cold start)/ping - All fields required: When creating/updating, provide all fields
- Valid cron only: Use standard 5-field cron format
- Job names: Use alphanumeric with hyphens/underscores only
- Check logs: Use the logs endpoint to debug failed jobs
- Dashboard: Use https://www.cronlytic.com/dashboard for visual management
- Plan limits: Free tier has job limits - upgrade if needed