Daily (1d)
10 minutes
b6167457f7efb0d769bf7f1c9923ecdb77961a3e28fe8ad93a27df2a08ba021d
<?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: b6167457f7efb0d769bf7f1c9923ecdb77961a3e28fe8ad93a27df2a08ba021d',
],
CURLOPT_POSTFIELDS => json_encode([
'identifier' => 'lambda push_product_info_to_pinecone',
'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: b6167457f7efb0d769bf7f1c9923ecdb77961a3e28fe8ad93a27df2a08ba021d" \
-d '{"identifier":"lambda push_product_info_to_pinecone","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: b6167457f7efb0d769bf7f1c9923ecdb77961a3e28fe8ad93a27df2a08ba021d" \
-d '{"identifier":"lambda push_product_info_to_pinecone","status":"failure","message":"Script exited with error"}'
Success: 1 | Failure: 0 | Missed: 0
| Status | Message | Reported At |
|---|---|---|
| success | Processed 1 products (0 skipped) in 1 batches | 2026-10-12 19:20:49 |