Meleki
b645625b56
Cronjobs + AnthropicService Singleton Refactoring
Cronjobs:
- CronjobService (BackgroundService) prüft jede Minute auf fällige Jobs
- Cron-Expression in Server-Lokalzeit via Cronos (CronFormat.Standard)
- Cronjob-Ausführung: Prompt → Session → Agent-Antwort in Chat-History
- Optionale Benachrichtigungs-Session (notify_session_id): Zusammenfassung
wird in separate Session geschrieben (z.B. mit Telegram)
- Telegram-Benachrichtigung mit Cronjob-Name + Ursprungs-Session
- REST API: CRUD + toggle + manuelles Ausführen (/run)
- Frontend: Dashboard-Cards, Cronjob-Formular mit Cron-Vorschau,
Session-Dropdown, Notify-Session-Dropdown, Status-Box
Refactoring:
- AnthropicService als Singleton in DI registriert
- ChatEndpoint + TelegramService nutzen injizierte Instanz
- Redundante Dependencies (Token, ToolService, MemoryService) entfernt
Neue Dateien:
- Models/CronjobRecord.cs
- Services/CronjobService.cs
- Endpoints/CronjobEndpoint.cs
- wwwroot/js/pages/cronjob-page.js
- PLAN-Cronjob.md
2026-03-03 22:44:46 +01:00
..
2026-02-28 11:30:26 +01:00
2026-03-03 22:44:46 +01:00
2026-03-03 22:44:46 +01:00
2026-03-03 16:47:56 +01:00
2026-03-02 14:05:59 +01:00
2026-02-28 21:35:34 +01:00
2026-03-03 05:53:31 +01:00
2026-03-03 16:18:00 +01:00
2026-03-01 20:00:35 +01:00
2026-03-03 11:45:52 +01:00
2026-03-02 13:02:52 +01:00
2026-02-26 19:50:00 +01:00
2026-02-27 14:29:43 +01:00
2026-03-01 00:01:40 +01:00
2026-03-03 21:46:59 +01:00