Build with confidence using our REST API or TypeScript SDK. Schedule HTTP requests programmatically with complete control and monitoring.
Create your first scheduled HTTP request with just a few lines of code.
curl -X POST "https://cronho.st/api/v1/schedules" \
-H "x-api-key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"name": "Daily Health Check",
"cronExpression": "0 9 * * *",
"timezone": "UTC",
"endpoint": "https://api.example.com/health",
"httpMethod": "GET"
}'
import { Cronhost } from 'cronhost';
const cronhost = new Cronhost({
apiKey: 'your-api-key'
});
const schedule = await cronhost.createSchedule({
name: 'Daily Health Check',
cronExpression: '0 9 * * *',
timezone: 'UTC',
endpoint: 'https://api.example.com/health',
httpMethod: 'GET'
});
Comprehensive tools for scheduling, monitoring, and managing HTTP requests.
See how developers are using Cronhost to automate their workflows.
// Check API every 5 minutes
const healthCheck = await cronhost.createSchedule({
name: 'API Monitor',
cronExpression: '*/5 * * * *',
endpoint: 'https://api.example.com/health',
httpMethod: 'GET',
maxRetries: 2
});
// Weekly report webhook
const webhook = await cronhost.createSchedule({
name: 'Weekly Report',
cronExpression: '0 9 * * 1', // Mondays at 9am
endpoint: 'https://hooks.slack.com/...',
httpMethod: 'POST',
body: JSON.stringify({ text: 'Report ready!' })
});
// Daily backup at 2 AM
const backup = await cronhost.createSchedule({
name: 'Database Backup',
cronExpression: '0 2 * * *',
endpoint: 'https://api.example.com/backup',
httpMethod: 'POST',
timeoutSeconds: 300 // 5 minutes
});
// Daily reminder
const reminder = await cronhost.createSchedule({
name: 'Daily Standup Reminder',
cronExpression: '30 8 * * 1-5', // Weekdays 8:30am
endpoint: 'https://api.example.com/notify',
httpMethod: 'POST'
});
Everything you need to get started and build production-ready integrations.
Get reliable webhook triggering up and running in minutes.