Update dashboard, memory, root +2 more (+3 ~5)
This commit is contained in:
25
HEARTBEAT.md
25
HEARTBEAT.md
@@ -1,5 +1,30 @@
|
||||
# HEARTBEAT.md
|
||||
|
||||
## Calendar Alert (<2h) - PRIORITATE!
|
||||
|
||||
La fiecare heartbeat, verifică dacă are eveniment în următoarele 2 ore:
|
||||
```bash
|
||||
cd ~/clawd && source venv/bin/activate && python3 -c "
|
||||
from tools.calendar_check import get_service, TZ
|
||||
from datetime import datetime, timedelta
|
||||
service = get_service()
|
||||
now = datetime.now(TZ)
|
||||
soon = now + timedelta(hours=2)
|
||||
events = service.events().list(
|
||||
calendarId='primary',
|
||||
timeMin=now.isoformat(),
|
||||
timeMax=soon.isoformat(),
|
||||
singleEvents=True
|
||||
).execute().get('items', [])
|
||||
for e in events:
|
||||
start = e['start'].get('dateTime', e['start'].get('date'))
|
||||
print(f'{start}: {e.get(\"summary\", \"(fără titlu)\")}')
|
||||
"
|
||||
```
|
||||
|
||||
Dacă găsești ceva → trimite IMEDIAT pe Discord #echo (canalul curent):
|
||||
> ⚠️ **În [X] ai [EVENIMENT]!**
|
||||
|
||||
## Verificări periodice
|
||||
|
||||
### 🔄 Mentenanță echipă (1x pe zi, dimineața)
|
||||
|
||||
Reference in New Issue
Block a user