#!/usr/bin/env bash
# Oracle weekly review — cron entry point (no_agent; stdout is delivered verbatim).
set -u

ORACLE_DIR="/home/vpsadmin/oracle"
cd "$ORACLE_DIR" || { echo "FATAL: cannot cd $ORACLE_DIR"; exit 1; }

echo "# Oracle Weekly Review — $(date -u +%Y-%m-%d)"
echo ""
python3 -m oracle weekly --days 7 2>&1
echo ""
echo "---"
echo "Generated $(date -u) | Oracle pipeline"