fix: Disable duplicate notifications from tier1-scorer and JAE

- Set --no-deliver on tier1-scorer-30min cron job
- Set --no-deliver on jae-v4-every-3h cron job
- These jobs process data continuously - no need to notify every run
- Will only notify when new leads detected (handled by sales-lead monitor)
- Eliminates duplicate/unnecessary messages
This commit is contained in:
2026-04-08 18:13:44 -04:00
parent 3e24b8b193
commit 674c2c3925
13 changed files with 533 additions and 139 deletions

View File

@@ -2782,3 +2782,33 @@ No new leads found
[Wed Apr 8 10:00:00 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 10:17:32 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 10:17:32 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 11:00:00 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 11:00:00 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 11:17:34 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 11:17:34 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 12:00:00 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 12:00:00 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 12:17:33 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 12:17:33 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 13:00:01 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 13:00:01 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 13:17:35 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 13:17:35 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 14:00:01 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 14:00:01 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 14:17:42 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 14:17:42 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 15:00:01 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 15:00:01 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 15:17:36 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 15:17:36 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 16:00:00 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 16:00:00 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 16:17:39 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 16:17:39 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 17:00:01 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 17:00:01 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 17:17:34 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 17:17:34 EDT 2026] Response size: 7791 bytes
[Wed Apr 8 18:00:01 EDT 2026] ✓ hoaledgeriq.com/api/calc-submissions responding
[Wed Apr 8 18:00:01 EDT 2026] Response size: 7791 bytes

View File

@@ -2087,3 +2087,93 @@
[2026-04-08 10:30:23] ✅ Notification sent for lead 1 (john@example.com)
[2026-04-08 10:30:23] ✓ Monitor check complete
[2026-04-08 10:30:23] ==================================================
[2026-04-08 10:31:49] ==================================================
[2026-04-08 10:31:49] Starting Sales Lead Monitor Check
[2026-04-08 10:31:49] 📊 Checking ROI Calculator...
[2026-04-08 10:31:49] ✓ No new submissions (last ID: 7)
[2026-04-08 10:31:49] 📝 Checking Interest Form...
[2026-04-08 10:31:49] ✓ No new submissions
[2026-04-08 10:31:49] ✓ Monitor check complete
[2026-04-08 10:31:49] ==================================================
[2026-04-08T15:00:00Z] Starting lead monitor check
[2026-04-08T15:00:00Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T15:00:00Z] Processing calc submissions...
[2026-04-08T15:00:00Z] Check complete. Next run at 2026-04-08T12:00:EDT
[2026-04-08T15:17:34Z] Starting lead monitor check
[2026-04-08T15:17:34Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T15:17:34Z] Processing calc submissions...
[2026-04-08T15:17:34Z] Check complete. Next run at 2026-04-08T12:17:EDT
[2026-04-08 11:31:44] ==================================================
[2026-04-08 11:31:44] Starting Sales Lead Monitor Check
[2026-04-08 11:31:44] 📊 Checking ROI Calculator...
[2026-04-08 11:31:44] 🎯 NEW: ID 7 - test@example.com
[2026-04-08 11:31:47] ✅ Notification sent for lead 7 (test@example.com)
[2026-04-08 11:31:47] 🎯 NEW: ID 6 - john5@example.com
[2026-04-08 11:31:49] ✅ Notification sent for lead 6 (john5@example.com)
[2026-04-08 11:31:49] 🎯 NEW: ID 5 - john5@example.com
[2026-04-08 11:31:51] ✅ Notification sent for lead 5 (john5@example.com)
[2026-04-08 11:31:51] 📝 Checking Interest Form...
[2026-04-08 11:31:51] 🎯 NEW: ID 5 - jon@somedomain.com (Jonathan Tester)
[2026-04-08 11:31:53] ✅ Notification sent for lead 5 (jon@somedomain.com)
[2026-04-08 11:31:53] 🎯 NEW: ID 4 - joe@myhoa.com (Joe Schmoe)
[2026-04-08 11:31:55] ✅ Notification sent for lead 4 (joe@myhoa.com)
[2026-04-08 11:31:55] 🎯 NEW: ID 3 - smith@example.com (Jane Smith2)
[2026-04-08 11:31:57] ✅ Notification sent for lead 3 (smith@example.com)
[2026-04-08 11:31:57] 🎯 NEW: ID 2 - jane@example123.com (Jane Winters)
[2026-04-08 11:31:59] ✅ Notification sent for lead 2 (jane@example123.com)
[2026-04-08 11:31:59] 🎯 NEW: ID 1 - john@example.com (John Warner)
[2026-04-08 11:32:01] ✅ Notification sent for lead 1 (john@example.com)
[2026-04-08 11:32:01] ✓ Monitor check complete
[2026-04-08 11:32:01] ==================================================
[2026-04-08T16:00:00Z] Starting lead monitor check
[2026-04-08T16:00:00Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T16:00:00Z] Processing calc submissions...
[2026-04-08T16:00:00Z] Check complete. Next run at 2026-04-08T13:00:EDT
[2026-04-08T16:17:33Z] Starting lead monitor check
[2026-04-08T16:17:33Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T16:17:33Z] Processing calc submissions...
[2026-04-08T16:17:33Z] Check complete. Next run at 2026-04-08T13:17:EDT
[2026-04-08T17:00:00Z] Starting lead monitor check
[2026-04-08T17:00:01Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T17:00:01Z] Processing calc submissions...
[2026-04-08T17:00:01Z] Check complete. Next run at 2026-04-08T14:00:EDT
[2026-04-08T17:17:35Z] Starting lead monitor check
[2026-04-08T17:17:35Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T17:17:35Z] Processing calc submissions...
[2026-04-08T17:17:35Z] Check complete. Next run at 2026-04-08T14:17:EDT
[2026-04-08T18:00:01Z] Starting lead monitor check
[2026-04-08T18:00:01Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T18:00:01Z] Processing calc submissions...
[2026-04-08T18:00:01Z] Check complete. Next run at 2026-04-08T15:00:EDT
[2026-04-08T18:17:41Z] Starting lead monitor check
[2026-04-08T18:17:42Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T18:17:42Z] Processing calc submissions...
[2026-04-08T18:17:42Z] Check complete. Next run at 2026-04-08T15:17:EDT
[2026-04-08T19:00:00Z] Starting lead monitor check
[2026-04-08T19:00:01Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T19:00:01Z] Processing calc submissions...
[2026-04-08T19:00:01Z] Check complete. Next run at 2026-04-08T16:00:EDT
[2026-04-08T19:17:36Z] Starting lead monitor check
[2026-04-08T19:17:36Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T19:17:36Z] Processing calc submissions...
[2026-04-08T19:17:36Z] Check complete. Next run at 2026-04-08T16:17:EDT
[2026-04-08T20:00:00Z] Starting lead monitor check
[2026-04-08T20:00:00Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T20:00:00Z] Processing calc submissions...
[2026-04-08T20:00:00Z] Check complete. Next run at 2026-04-08T17:00:EDT
[2026-04-08T20:17:38Z] Starting lead monitor check
[2026-04-08T20:17:39Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T20:17:39Z] Processing calc submissions...
[2026-04-08T20:17:39Z] Check complete. Next run at 2026-04-08T17:17:EDT
[2026-04-08T21:00:00Z] Starting lead monitor check
[2026-04-08T21:00:01Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T21:00:01Z] Processing calc submissions...
[2026-04-08T21:00:01Z] Check complete. Next run at 2026-04-08T18:00:EDT
[2026-04-08T21:17:34Z] Starting lead monitor check
[2026-04-08T21:17:34Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T21:17:34Z] Processing calc submissions...
[2026-04-08T21:17:34Z] Check complete. Next run at 2026-04-08T18:17:EDT
[2026-04-08T22:00:00Z] Starting lead monitor check
[2026-04-08T22:00:01Z] ROI Calc submissions response: 7791 bytes
[2026-04-08T22:00:01Z] Processing calc submissions...
[2026-04-08T22:00:01Z] Check complete. Next run at 2026-04-08T19:00:EDT

View File

@@ -1,31 +1,7 @@
{
"processed_leads": [],
"processed_calc_ids": [
1,
2,
3,
4,
7,
6,
5
],
"last_check": "2026-04-08T10:30:23.552271",
"processed_calc_ids": [1, 2, 3, 4],
"last_check": "2026-04-08T22:00:01Z",
"status": "active",
"notes": "Hourly monitoring enabled. Next check in 60 minutes.",
"processed_roi": [
1,
2,
3,
4,
7,
6,
5
],
"processed_interest": [
5,
4,
3,
2,
1
]
}
"notes": "Hourly monitoring enabled. Next check in 60 minutes."
}