Quick Start Guide
Create your first scheduled job and start monitoring executions.
Note: This guide is for using Cronicorn as a hosted service. If you're self-hosting, see the Self-Hosting Documentation.
1. Sign Up
- Visit https://cronicorn.com
- Click Sign in with GitHub
- Authorize the application
2. Create Your First Job
Jobs group related endpoints together. Let's create one for API monitoring:
- Click Create Job
- Fill in the details:
- Name:
API Health Checks - Description:
Monitor our API endpoints
- Name:
- Click Create
3. Add an Endpoint
Now let's add an HTTP endpoint to monitor:
-
Click on your newly created job
-
Click Add Endpoint
-
Fill in:
- Name:
Main API Health - URL:
https://api.yourapp.com/health - Method:
GET - Baseline Schedule: Choose either:
- Cron:
*/5 * * * *(every 5 minutes) - Interval:
300000(milliseconds = 5 minutes)
- Cron:
- Name:
-
(Optional but recommended) Add a description to guide AI behavior:
- Description:
Monitors API health. Poll more frequently when status shows errors or latency is high. Return to baseline when metrics normalize.
- Description:
-
(Optional) Add safety constraints:
- Min Interval:
30000(30 seconds - prevents over-polling) - Max Interval:
900000(15 minutes - ensures regular checks)
- Min Interval:
-
Click Add Endpoint
Tip: The description tells the AI when to adapt. Without a description, AI uses only response data and execution history. With a good description, you can express specific adaptation rules in natural language.
4. View Execution History
Your endpoint will start executing automatically. To monitor it:
- Click on the endpoint name
- View the Runs tab to see:
- Execution timestamps
- Success/failure status
- Response time
- Error messages (if any)
5. Enable AI Adaptation (Optional)
Want AI to optimize your schedule automatically?
- Navigate to Settings in the top navigation
- Find the AI Features section
- Toggle Enable AI Scheduling
- Your endpoints will now adapt based on performance patterns
How AI helps:
- Increases frequency when errors detected
- Backs off when everything is stable
- Always respects your min/max constraints
- All hints expire automatically (TTL)
Common Patterns
API Health Check
Monitor an API endpoint with adaptive frequency:
Name: API Health Check
URL: https://api.example.com/health
Method: GET
Baseline: Every 5 minutes (300000ms)
Min Interval: 30 seconds (prevents rate limit issues)
Max Interval: 15 minutes (ensures timely detection)
With AI enabled:
- Normal state: Runs every 5 minutes
- Errors detected: Increases to every 30 seconds
- All healthy: Backs off to every 15 minutes
Data Sync
Synchronize data between systems:
Name: User Sync
URL: https://api.example.com/sync/users
Method: POST
Body: {"lastSyncTime": "{{lastRunAt}}"}
Baseline: Every hour (3600000ms)
Max Interval: 2 hours (ensures freshness)
Daily Cleanup
Run maintenance tasks on a schedule:
Name: Database Cleanup
URL: https://api.example.com/admin/cleanup
Method: POST
Baseline: Daily at 2am (cron: "0 2 * * *")
Timeout: 300000ms (5 minutes)
Using API Keys
For programmatic access, create API keys:
- Go to Settings → API Keys
- Click Create API Key
- Give it a name and copy the key (shown only once!)
- Use in your requests:
curl -X GET https://cronicorn.com/api/jobs \
-H "x-api-key: cron_abc123..."
See the API Reference for all available endpoints.
Using with AI Assistants
Cronicorn provides an MCP server for AI assistants like Claude:
Installation
npm install -g @cronicorn/mcp-server
Configuration
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"cronicorn": {
"command": "cronicorn-mcp"
}
}
}
First Run
The MCP server will:
- Display a device code
- Open your browser to approve access
- Store credentials securely
Then ask Claude to manage your jobs:
- "Create a health check endpoint for api.example.com"
- "Show me the run history for my API health check"
- "Pause all endpoints for the next hour"
Troubleshooting
Endpoint Not Running
Check the endpoint status:
- Open the endpoint details
- Look for Status field
- If "Paused", click Resume
Check execution history:
- View the Runs tab
- Look for error messages
- Check if the URL is accessible
Authentication Errors
For HTTPS endpoints with auth:
- Add authentication headers in the endpoint configuration
- Common headers:
Authorization: Bearer <token>x-api-key: <key>
Timeout Errors
If requests are timing out:
- Edit the endpoint
- Increase Timeout (default is 30 seconds)
- Consider if your API needs optimization
Rate Limit Errors
If you're hitting rate limits:
- Increase Min Interval (e.g., from 30s to 60s)
- Adjust Baseline Schedule to be less frequent
- Let AI adapt (it will back off automatically)
See Also
- Core Concepts - Understanding jobs, endpoints, and scheduling
- API Reference - Programmatic access to Cronicorn
- Troubleshooting - Diagnose and fix common issues
- MCP Server - Manage jobs via AI assistant