wiki_ghostguild/cron/crontab
Jennie Robinson Faber 8e7424ed05 Add cron container for daily backups and content export
- Add cron service to docker-compose with backup (3 AM) and export (4 AM) schedules
- Remove redundant content/articles/ and content/curriculum/ (now in Outline, exported to content/wiki/)
- Fix env var mismatch: support both OUTLINE_API_KEY and OUTLINE_API_TOKEN
- Drop updatedAt from export frontmatter to reduce noisy commits
- Add backups/ to gitignore
2026-03-24 09:14:16 +00:00

6 lines
281 B
Text

# Outline database + file backup — daily at 3 AM UTC
0 3 * * * /app/scripts/outline-backup.sh /backups/outline >> /var/log/outline-backup.log 2>&1
# Wiki content export to git — daily at 4 AM UTC
0 4 * * * /app/scripts/export-content-cron.sh >> /var/log/wiki-export.log 2>&1