docs: initial project documentation for 0012.de webspace
Document hosting setup, external monitoring architecture, landing page concept, env template, and phased todo checklist for the wint.global Classic 1.0 counterpart to boka. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# 05 — Plesk Cron (Geplante Aufgaben)
|
||||
|
||||
**Priorität:** high
|
||||
**Abhängigkeiten:** 01, 03 (Skript muss existieren)
|
||||
**Referenz:** Plesk → Websites & Domains → Geplante Aufgaben
|
||||
|
||||
## Ziel
|
||||
|
||||
Monitoring automatisch alle 5–10 Minuten ausführen.
|
||||
|
||||
## Checkliste
|
||||
|
||||
- [ ] Aufgabe anlegen: **PHP-Skript ausführen**
|
||||
- [ ] Skriptpfad: `httpdocs/monitor.php` (Pfad nach Deployment verifizieren)
|
||||
- [ ] PHP-Version: höchste stabile (z. B. 8.5.7)
|
||||
- [ ] **Aktiv** angehakt
|
||||
- [ ] Ausführen: **Cron-Stil**
|
||||
- [ ] Expression: `*/10 * * * *` (Pull-Checks alle 10 Min)
|
||||
- [ ] Beschreibung: z. B. „0012 external monitoring pull“
|
||||
- [ ] Benachrichtigen: **Nur Fehler** (PHP-Crash → Plesk-Mail)
|
||||
- [ ] **Jetzt ausführen** — Exit-Code / Log prüfen
|
||||
- [ ] Optional zweite Aufgabe für leichtgewichtigen Heartbeat-Only-Check (`*/5`) — nur wenn von monitor.php getrennt
|
||||
|
||||
## Cron-Referenz
|
||||
|
||||
```
|
||||
*/10 * * * * monitor.php (HTTPS/SSL + stale push check)
|
||||
```
|
||||
|
||||
Plesk nutzt System-Timezone des Servers.
|
||||
|
||||
## Akzeptanzkriterien
|
||||
|
||||
- Aufgabe läuft scheduled ohne manuellen Klick
|
||||
- `data/last-checks.json` Timestamp bewegt sich
|
||||
|
||||
## Fehlerbehebung
|
||||
|
||||
- Skriptpfad relativ zu Domain-Root in Plesk
|
||||
- `max_execution_time` bei vielen URLs erhöhen
|
||||
- Bei Timeout: URLs batching oder Interval vergrößern
|
||||
Reference in New Issue
Block a user