Spaces:
Sleeping
Sleeping
Claude Code Claude Opus 4.6 commited on
Commit ·
c67b939
1
Parent(s): 19af8c5
Claude Code: Enable cain_heartbeat cron job to wake worker every minute
Browse files- Added cain_heartbeat job with schedule: * * * * * (every minute)
- Pings /api/trigger endpoint to keep worker polling active
- Resolves A2A synchronization deadlock
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
openclaw/.openclaw/cron/jobs.json
CHANGED
|
@@ -1,5 +1,20 @@
|
|
| 1 |
{
|
| 2 |
"jobs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
{
|
| 4 |
"id": "health-check",
|
| 5 |
"schedule": "*/30 * * * *",
|
|
|
|
| 1 |
{
|
| 2 |
"jobs": [
|
| 3 |
+
{
|
| 4 |
+
"id": "cain_heartbeat",
|
| 5 |
+
"schedule": "* * * * *",
|
| 6 |
+
"enabled": true,
|
| 7 |
+
"description": "Wake Cain worker every minute to keep polling active",
|
| 8 |
+
"tool": "http_ping",
|
| 9 |
+
"params": {
|
| 10 |
+
"url": "https://tao-shen-huggingclaw-cain.hf.space/api/trigger"
|
| 11 |
+
},
|
| 12 |
+
"logging": {
|
| 13 |
+
"file": ".openclaw/logs/heartbeat.jsonl",
|
| 14 |
+
"format": "jsonl",
|
| 15 |
+
"retention_days": 7
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
{
|
| 19 |
"id": "health-check",
|
| 20 |
"schedule": "*/30 * * * *",
|