WordPress cron
Replace slow WP-Cron with a reliable trigger.
*/5 * * * *https://example.com/wp-cron.php?doing_wp_cronManage online cron jobs from your own code, or copy a ready-made example and pick an interval.
Base URL https://fastcron.net/cronapi/secure-cron-api.php?action=…. Send your key in the X-Api-Key header and JSON in the body. Every answer is JSON with success and data or error. Find your key in the panel under Developers.
| Method | action= | What it does |
|---|---|---|
| GET | test | Check your key and the API status. |
| GET | get_jobs | List your cron jobs. |
| GET | get_stats | Run counts and success rate. |
| POST | create_job | Create a job: name, target_url, interval (2s, 1m, */5 * * * *), optional method, headers, body. |
| POST | update_job + id | Change any of the fields above. |
| POST | pause_job + id | Pause a job. |
| POST | resume_job + id | Resume a paused job. |
| POST | delete_job + id | Delete a job. |
+ id actions also need &job_id=ID in the URL. Limit: 120 requests per minute per key. API access is part of API-enabled packages.
curl -X POST "https://fastcron.net/cronapi/secure-cron-api.php?action=create_job" \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Queue worker","target_url":"https://example.com/queue/work","interval":"5s"}'$ch = curl_init('https://fastcron.net/cronapi/secure-cron-api.php?action=create_job');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['X-Api-Key: YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Queue worker',
'target_url' => 'https://example.com/queue/work',
'interval' => '5s',
]),
]);
$job = json_decode(curl_exec($ch), true);const res = await fetch('https://fastcron.net/cronapi/secure-cron-api.php?action=create_job', {
method: 'POST',
headers: { 'X-Api-Key': 'YOUR_API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({
name: 'Queue worker',
target_url: 'https://example.com/queue/work',
interval: '5s'
})
});
const job = await res.json();{
"success": true,
"message": "Job created successfully",
"data": {
"job_id": "job_6716a3f2c81b4",
"job": { "name": "Queue worker", "interval": "5s",
"enabled": true, "total_executions": 0 }
}
}X-Api-KeyerrorerrorCommon jobs people schedule with FastCron. Copy a URL, pick an interval, done.
Replace slow WP-Cron with a reliable trigger.
*/5 * * * *https://example.com/wp-cron.php?doing_wp_cronFire a webhook every 10 seconds.
10shttps://example.com/hooks/tickTrigger a nightly backup script.
0 2 * * *https://example.com/backup/run?token=...Process your job queue every 2 seconds.
2shttps://example.com/queue/workPull data from a partner API every minute.
1mhttps://example.com/sync/ordersPing an endpoint every 30 seconds.
30shttps://example.com/healthEach job keeps its own log with status code and response time, so you can see a 2 second cron job firing in real time.
Get StartedSign in to your FastCron account to continue
Enter the code we sent to your Telegram
Start running cron jobs every few seconds in minutes
Enter the 6-digit code we sent to your email
Enter your username or email and we will send you a reset code
We sent a 6-digit code to your email
Choose a strong password for your account