Active Automations
6 total| Name | Type | Schedule | Last Run | Status | Action |
|---|---|---|---|---|---|
| Nightly Postgres Backup | Bash | 0 3 * * * | 3h ago | success | |
| Restart Minecraft @ 6AM | Bash | 0 6 * * * | 9h ago | success | |
| Sync Cloud Photos | PowerShell | */15 * * * * | 4m ago | success | |
| Alert on Disk > 85% | Webhook | on event | yesterday | warning | |
| Renew Let's Encrypt | Bash | 0 0 1 * * | 12d ago | success | |
| Docker Image Prune | Bash | 0 4 * * 0 | 2d ago | failed |
Script Editor · backup.sh
#!/usr/bin/env bash set -euo pipefail BACKUP_DIR=/srv/backups/postgres TS=$(date +%Y-%m-%d-%H%M) DEST="$BACKUP_DIR/pg-$TS.sql.zst" docker exec postgres-main pg_dumpall -U postgres \ | zstd -19 -o "$DEST" # Retain last 14 days find "$BACKUP_DIR" -name "pg-*.sql.zst" -mtime +14 -delete curl -sS -X POST "$TG_WEBHOOK" \ -d "Backup OK: $(du -h "$DEST" | cut -f1)"
Templates
Recent Executions
14:00:01✓ Sync Cloud Photos · 3.2s
13:45:01✓ Sync Cloud Photos · 2.9s
04:00:00✗ Docker Image Prune · 12.4s
03:00:01✓ Nightly Postgres Backup · 48.1s