# Deliveroo Kuwait Skill — owned cron entries
# These lines belong in the system crontab (crontab -e as the claude user)
# Managed by: /home/claude/.claude/skills/deliveroo-kuwait/install.sh

# Status push — every 2 min, checks active orders and pushes Telegram alerts
*/2 * * * * /bin/bash /home/claude/.claude/skills/deliveroo-kuwait/cron/status-push.sh >> /home/claude/.claude/skills/deliveroo-kuwait/data/status-push.log 2>&1

# Index DB sync — daily 03:00 UTC (06:00 Kuwait), syncs restaurant/menu index
0 3 * * * /usr/bin/python3 /home/claude/.claude/skills/deliveroo-kuwait/lib/index_db.py sync >> /home/claude/.claude/skills/deliveroo-kuwait/data/index-sync.log 2>&1

# Spend tracker — daily 03:00 UTC (06:00 Kuwait), pulls order history into spend.db
0 3 * * * TG_NOTIFY=1 /home/claude/.claude/skills/deliveroo-kuwait/cron/tracker.sh >> /home/claude/.claude/skills/deliveroo-kuwait/data/tracker.log 2>&1

# Restaurant pre-scrape — weekly Sunday 00:00 UTC (03:00 Kuwait)
# Discovers serviceable restaurants, scores + syncs top 100 into index.db
0 0 * * 0 /usr/bin/python3 /home/claude/.claude/skills/deliveroo-kuwait/lib/scrape_popular.py sync-top-100 >> /home/claude/.claude/skills/deliveroo-kuwait/data/scrape-popular.log 2>&1
