fix: Restore Reddit Scout cron job schedule

- Added Reddit Scout back to install-all-crons.sh
- Schedule: 8 AM and 3 PM daily
- Last run: March 20 (cron was missing)
- Added README with restoration instructions
- User needs to run: bash install-all-crons.sh
This commit is contained in:
2026-04-01 19:52:19 -04:00
parent ba066f9984
commit b55c9162c2
2 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
# Reddit Scout Agent
Monitors r/HOA for relevant discussions and sends Telegram alerts.
## Status
⚠️ **Last Run:** March 20, 2026 (12 days ago)
⚠️ **Issue:** Cron job missing - needs manual restart
## To Restore
Run this command to reinstall the cron job:
```bash
bash /Users/claw/.openclaw/workspace/agents/install-all-crons.sh
```
Or manually add to crontab:
```bash
crontab -e
```
Add this line:
```
0 8,15 * * * /Users/claw/.openclaw/workspace/agents/reddit-scout/cron.sh
```
## Schedule
- **8:00 AM** - Daily scan
- **3:00 PM** - Daily scan
## What It Does
1. Fetches latest 50 posts from r/HOA
2. Scans for HOA-related discussions
3. Filters for relevant opportunities
4. Sends Telegram alert if matches found
5. Logs activity to `logs/scout-YYYYMMDD.log`
## Last Known State
- **Total Scanned:** 400 posts
- **Total Matches:** 12 relevant posts
- **Last Match:** March 20 - 1 post found
## Testing
Run manually:
```bash
cd /Users/claw/.openclaw/workspace/agents/reddit-scout
python3 scout.py
```
Check logs:
```bash
tail -20 logs/scout-*.log
```