Introduction to A1Cron
Understanding A1Base’s cron job scheduling system
Introduction to A1Cron
A1Cron is A1Base’s powerful cron job management system that enables you to schedule and automate HTTP requests with precision. Whether you need to run daily reports, sync data between systems, or perform regular health checks, A1Cron provides the tools you need to automate these tasks reliably.
What is A1Cron?
A1Cron allows you to:
- Schedule HTTP requests to run at specific times and intervals
- Monitor execution status and view detailed logs
- Configure automatic retries for failed requests
- Receive webhook notifications for job outcomes
- Organize jobs with tags for easy management
Core Concepts
Cron Jobs
A cron job is a scheduled task that executes an HTTP request at specified intervals. Each job includes:
- Endpoint URL: The target URL to call
- Schedule: When and how often to run
- HTTP Configuration: Method, headers, and body
- Retry Settings: How to handle failures
- Callbacks: Webhooks for success/failure notifications
Scheduling Options
Run tasks every N hours. Perfect for:
- Regular data syncs
- Cache refreshing
- Monitoring checks
Run tasks every N hours. Perfect for:
- Regular data syncs
- Cache refreshing
- Monitoring checks
Execute at a specific time each day. Ideal for:
- Daily reports
- Backup operations
- End-of-day processing
Run on specific days of the week. Great for:
- Weekly summaries
- Business day operations
- Weekend maintenance
Execute on the first of each month. Perfect for:
- Monthly billing
- Report generation
- Data archival
Timezone Support
All cron jobs run in the timezone you specify. A1Cron supports all standard timezone identifiers:
America/New_York
Europe/London
Asia/Tokyo
UTC
Timezone support ensures your jobs run at the correct local time, automatically adjusting for daylight saving time changes.
Retry Configuration
Configure how A1Cron handles failed requests:
- max_retries: Number of retry attempts (0-10)
- retry_delay_seconds: Wait time between retries
- timeout_seconds: Maximum time to wait for response
Webhook Callbacks
Get notified about job execution results:
Callbacks receive POST requests with execution details:
Authentication
All API requests require authentication headers:
Get your credentials from the A1Base Dashboard.
Base URL
All A1Cron endpoints use the base URL:
Rate Limits
- API Requests: 1000 requests per hour
- Cron Jobs: Maximum 100 active jobs per account
- Execution Frequency: Minimum interval of 1 hour for hourly jobs