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:
@@ -146,9 +146,25 @@ def format_digest(posts):
|
||||
return '\n'.join(lines)
|
||||
|
||||
def send_digest(message):
|
||||
"""Send digest to OpenClaw"""
|
||||
log(message[:200] + "...")
|
||||
# OpenClaw will pick up stdout/log
|
||||
"""Send digest to Telegram via OpenClaw"""
|
||||
log(f"Sending digest: {message[:200]}...")
|
||||
|
||||
# Send via OpenClaw message tool
|
||||
try:
|
||||
import subprocess
|
||||
result = subprocess.run(
|
||||
["openclaw", "message", "send", "--channel", "telegram", "--target", "telegram:8269921691", "--message", message],
|
||||
capture_output=True,
|
||||
text=True,
|
||||
timeout=30
|
||||
)
|
||||
if result.returncode == 0:
|
||||
log("✅ Digest sent via Telegram")
|
||||
else:
|
||||
log(f"❌ Telegram send failed: {result.stderr}")
|
||||
except Exception as e:
|
||||
log(f"❌ Error sending digest: {e}")
|
||||
|
||||
return True
|
||||
|
||||
def scout():
|
||||
|
||||
@@ -48,8 +48,65 @@
|
||||
"1rygttw",
|
||||
"1rygl0g",
|
||||
"1rydtwc",
|
||||
"1rybxj0"
|
||||
"1rybxj0",
|
||||
"1sa0jss",
|
||||
"1s9wbcf",
|
||||
"1s9vx4x",
|
||||
"1s9nenv",
|
||||
"1s9aaob",
|
||||
"1s98fvk",
|
||||
"1s97sxo",
|
||||
"1s96d08",
|
||||
"1s94hnd",
|
||||
"1s8wphn",
|
||||
"1s8f1xu",
|
||||
"1s8a81t",
|
||||
"1s886md",
|
||||
"1saafpr",
|
||||
"1sa67gi",
|
||||
"1sb2n1o",
|
||||
"1sb1kzy",
|
||||
"1sb0fpi",
|
||||
"1sb04zv",
|
||||
"1saxny6",
|
||||
"1sawox6",
|
||||
"1sawk52",
|
||||
"1sawfu8",
|
||||
"1sat7bq",
|
||||
"1saro8e",
|
||||
"1saqx4k",
|
||||
"1saqizy",
|
||||
"1sbez57",
|
||||
"1sbdkvr",
|
||||
"1sbczau",
|
||||
"1sbc4hr",
|
||||
"1sbo1i0",
|
||||
"1scgcab",
|
||||
"1scg3n3",
|
||||
"1sd9nlu",
|
||||
"1sdl26z",
|
||||
"1sdii5e",
|
||||
"1se7lzp",
|
||||
"1se6l7r",
|
||||
"1se6hpy",
|
||||
"1se5hbz",
|
||||
"1seta2k",
|
||||
"1sejkxk",
|
||||
"1segnle",
|
||||
"1seft8b",
|
||||
"1sec3wb",
|
||||
"1seaedu",
|
||||
"1seabe5",
|
||||
"1sf2suk",
|
||||
"1sfgvks",
|
||||
"1sfgk60",
|
||||
"1sf9a5a",
|
||||
"1sfyoij",
|
||||
"1sfxsfq",
|
||||
"1sfwlw9",
|
||||
"1sfw18g",
|
||||
"1sfuhl0"
|
||||
],
|
||||
"total_scanned": 400,
|
||||
"total_matches": 12
|
||||
"total_scanned": 1250,
|
||||
"total_matches": 31
|
||||
}
|
||||
Reference in New Issue
Block a user