Skip to content
cronlytic logo

Cronlytic

cronlytic

Cronlytic cron job scheduler API via curl. Use this skill to create, manage, pause/resume scheduled HTTP requests and webhook automation.

SKILL.md

Full skill instructions

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

  1. Sign up at Cronlytic
  2. Go to Dashboard → API Keys → Generate New API Key
  3. 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 $VAR in a command that pipes to another command, wrap the command containing $VAR in bash -c '...'. Due to a Claude Code bug, environment variables are silently cleared when pipes are used directly.

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

ExpressionDescription
*/​5 * * * *Every 5 minutes
0 * * * *Every hour at minute 0
0 9 * * *Daily at 9:00 AM
0 9 * * 1-5Weekdays at 9:00 AM
0 0 1 * *First day of month at midnight
30 14 * * 0Sunday at 2:30 PM
0 */​6 * * *Every 6 hours

Job Status Values

StatusDescription
pendingScheduled, waiting for next_run_at
pausedPaused, won't execute
successLast execution succeeded
failedLast execution failed
quota_reachedSkipped due to plan quota

Create Job Parameters

FieldTypeRequiredDescription
namestringYesJob name (1-50 chars, alphanumeric/​-/​_)
urlstringYesTarget URL (HTTP/​HTTPS)
methodstringYesHTTP method (GET, POST, PUT, DELETE)
headersobjectYesRequest headers (can be {})
bodystringYesRequest body (can be "")
cron_expressionstringYes5-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

FieldDescription
job_idUnique job identifier
nameJob name
urlTarget URL
methodHTTP method
statusCurrent job status
cron_expressionSchedule expression
next_run_atNext scheduled execution (ISO timestamp)
created_atCreation timestamp

Guidelines

  1. Ping first: Call /​ping to warm up the API (Lambda cold start)
  2. All fields required: When creating/​updating, provide all fields
  3. Valid cron only: Use standard 5-field cron format
  4. Job names: Use alphanumeric with hyphens/​underscores only
  5. Check logs: Use the logs endpoint to debug failed jobs
  6. Dashboard: Use https://www.cronlytic.com/dashboard for visual management
  7. Plan limits: Free tier has job limits - upgrade if needed

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View