- Created memory/web-apps-monitoring.md with status and restart instructions - Set up cron job to check both sites every 10 minutes - Auto-restarts any site that returns non-200 or times out - Sends Telegram notification if restart occurs
1.1 KiB
1.1 KiB
Web Apps Monitoring
Active Sites
| Site | URL | Port | Purpose |
|---|---|---|---|
| Project Hub | http://localhost:3000 | 3000 | Task/idea tracking with Kanban |
| Blog Backup | http://localhost:3003 | 3003 | Daily digest & message backup |
Auto-Restart Monitoring
Cron Job: Monitor Web Apps - Auto Restart
- Frequency: Every 10 minutes
- Action: Checks HTTP 200 status on both sites
- On Failure: Automatically restarts the down service(s)
- Notification: Telegram message if restart occurred
Manual Restart
If both are down:
# Project Hub
cd /Users/mattbruce/Documents/Projects/OpenClaw/Web/gantt-board
npm run dev -- --port 3000
# Blog Backup
cd /Users/mattbruce/Documents/Projects/OpenClaw/Web/blog-backup
npm run dev -- --port 3003
Check Status
curl http://localhost:3000
curl http://localhost:3003
For Future AI Continuity
If this agent is replaced:
- Run
openclaw cron listto see monitoring job - Check
process listfor running dev servers - Restart manually if needed using commands above
- Both projects are in
/Users/mattbruce/Documents/Projects/OpenClaw/Web/