Skip to content

The agent that grows with you

fix(cron): don't reference nonexistent 'hermes cron trigger' in relay-fronted errors

Victor Kyriazakos8e8112687b5f
diff --git a/cron/scheduler.py b/cron/scheduler.py
index 07259230f02..220e92f4393 100644
--- a/cron/scheduler.py
+++ b/cron/scheduler.py
@@ -3281,9 +3281,9 @@ def _deliver_result(job: dict, content: str, adapters=None, loop=None) -> Option
if platform_name in relay_fronted_platforms():
msg = (
f"platform '{platform_name}' is relay-fronted and has no "
- "live gateway transport; start the gateway or use "
- "`hermes cron trigger` (the gateway ticker owns relay-"
- "fronted delivery)"
+ "live gateway transport; start the gateway (its ticker "
+ "owns relay-fronted delivery and will fire the job on "
+ "schedule)"
)
logger.warning("Job '%s': %s", job["id"], msg)
delivery_errors.append(msg)
diff --git a/tools/cronjob_tools.py b/tools/cronjob_tools.py
index b7b191aad93..43c4e874acf 100644
--- a/tools/cronjob_tools.py
+++ b/tools/cronjob_tools.py
@@ -883,9 +883,8 @@ def _forward_relay_fronted_run(job: Dict[str, Any]) -> Optional[str]:
"success": False,
"error": (
"This job targets a relay-fronted platform, which has no "
- "standalone sender. Start the gateway (it owns the live relay "
- "adapter) or use `hermes cron trigger` so the gateway ticker "
- "delivers it."
+ "standalone sender. Start the gateway — its ticker will "
+ "deliver the job on schedule via the live relay adapter."
),
},
indent=2,