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:
59
agents/reddit-scout/README.md
Normal file
59
agents/reddit-scout/README.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user