Getting Started with A1Cron
Quick Start
Get up and running with A1Cron in minutes
Quick Start
This guide will help you create and manage your first cron job with A1Cron. By the end, you’ll have a scheduled task running automatically.
Prerequisites
Before you begin, make sure you have:
- An A1Base account
- Your API key and secret from the dashboard
- A publicly accessible endpoint URL to call
Step 1: Create Your First Cron Job
Let’s create a simple daily cron job that calls your endpoint every morning at 9 AM.
Response
Save the returned id
- you’ll need it to manage this cron job later.
Step 2: Verify Your Cron Job
Let’s check that your cron job was created successfully:
Step 3: Test with Manual Trigger
Before waiting for the scheduled time, test your cron job manually:
This will immediately execute your cron job and return the result:
Step 4: Monitor Execution Logs
Check the execution history of your cron job:
Common Patterns
Hourly Health Check
Weekly Report on Business Days
Limited Duration Campaign
Troubleshooting
Next Steps
Now that you have a working cron job: