Every 7 days (7d)
10 minutes
b3120b0d4b5f6dcec52abb9a44a523de0450797a4d54f8a639d6ad97807657b6
<?php
$ch = curl_init('https://cron-task-monitoring.documentonready.com/api/report.php');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
'X-Api-Token: b3120b0d4b5f6dcec52abb9a44a523de0450797a4d54f8a639d6ad97807657b6',
],
CURLOPT_POSTFIELDS => json_encode([
'identifier' => 'lambda pull_omg_blog_info',
'status' => 'success',
'message' => 'Task completed',
]),
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
# Append to your cron job to report success/failure:
/path/to/your-job.sh && \
curl -s -X POST https://cron-task-monitoring.documentonready.com/api/report.php \
-H "Content-Type: application/json" \
-H "X-Api-Token: b3120b0d4b5f6dcec52abb9a44a523de0450797a4d54f8a639d6ad97807657b6" \
-d '{"identifier":"lambda pull_omg_blog_info","status":"success","message":"OK"}' || \
curl -s -X POST https://cron-task-monitoring.documentonready.com/api/report.php \
-H "Content-Type: application/json" \
-H "X-Api-Token: b3120b0d4b5f6dcec52abb9a44a523de0450797a4d54f8a639d6ad97807657b6" \
-d '{"identifier":"lambda pull_omg_blog_info","status":"failure","message":"Script exited with error"}'
Success: 3 | Failure: 1 | Missed: 0
| Status | Message | Reported At |
|---|---|---|
| success | Blog pull: 7 posts across 2 month(s) (202609..202610) + 849 terms | 2026-10-09 06:15:37 |
| success | Blog pull: 1 posts across 1 month(s) (202610..202610) + 849 terms | 2026-10-06 16:39:09 |
| success | Blog pull: 1 posts across 1 month(s) (202610..202610) + 849 terms | 2026-10-06 16:33:13 |
| failure | pull_omg_blog_info error: WP API error HTTP 403 on posts page 1 (posts 202609): '{"code":"rest_forbidden","message":"REST API restricted to Administrators only.","data":{"status":403}}' | 2026-10-06 15:51:35 |