cleanup
This commit is contained in:
@@ -428,3 +428,32 @@ python audit_calendar_sync.py cleanup-orphaned
|
||||
|
||||
Alle Operationen werden über `context.logger` geloggt und sind in der Motia Workbench sichtbar. Zusätzliche Debug-Informationen werden auf der Konsole ausgegeben.
|
||||
|
||||
---
|
||||
|
||||
## Utility Scripts
|
||||
|
||||
Für Wartung und Debugging stehen Helper-Scripts zur Verfügung:
|
||||
|
||||
**Dokumentation**: [scripts/calendar_sync/README.md](../../scripts/calendar_sync/README.md)
|
||||
|
||||
**Verfügbare Scripts**:
|
||||
- `delete_employee_locks.py` - Löscht Redis-Locks (bei hängenden Syncs)
|
||||
- `delete_all_calendars.py` - Löscht alle Google Kalender (Reset)
|
||||
|
||||
**Verwendung**:
|
||||
```bash
|
||||
# Lock-Cleanup
|
||||
python3 scripts/calendar_sync/delete_employee_locks.py
|
||||
|
||||
# Calendar-Reset (VORSICHT!)
|
||||
python3 scripts/calendar_sync/delete_all_calendars.py
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Siehe auch
|
||||
|
||||
- [Calendar Sync Architecture](../../docs/ARCHITECTURE.md#2-calendar-sync-system)
|
||||
- [Calendar Sync Cron Step](calendar_sync_cron_step.md)
|
||||
- [Google Calendar Setup](../../docs/GOOGLE_SETUP.md)
|
||||
- [Troubleshooting Guide](../../docs/TROUBLESHOOTING.md)
|
||||
|
||||
Reference in New Issue
Block a user