|
ADS-IDAC Engine 5.0.0
|
Send completion notifications via ntfy.sh or Discord webhooks. More...
#include <string>Go to the source code of this file.
Classes | |
| struct | RunSummary |
| Summary of a completed simulation run. More... | |
Functions | |
| void | send_completion_notification (const RunSummary &summary) |
| Send completion notifications to all configured targets. Non-fatal: prints a warning if curl fails, never throws. More... | |
| std::string | auto_ntfy_topic () |
| Generate a default ntfy topic name: "ads" + 4 hex chars from hostname hash. Example: "ads7f3a". More... | |
Variables | |
| std::string | notify_ntfy_topic |
| Global notification targets (set by Scheduler::parseOptions). More... | |
| std::string | notify_discord_webhook |
Send completion notifications via ntfy.sh or Discord webhooks.
Definition in file Notification.h.
| std::string auto_ntfy_topic | ( | ) |
Generate a default ntfy topic name: "ads" + 4 hex chars from hostname hash. Example: "ads7f3a".
Definition at line 101 of file Notification.cpp.
| void send_completion_notification | ( | const RunSummary & | summary | ) |
Send completion notifications to all configured targets. Non-fatal: prints a warning if curl fails, never throws.
Definition at line 111 of file Notification.cpp.
References notify_discord_webhook, notify_ntfy_topic, send_discord(), and send_ntfy().
Referenced by main().
|
extern |
Definition at line 14 of file Notification.cpp.
|
extern |
Global notification targets (set by Scheduler::parseOptions).
Definition at line 13 of file Notification.cpp.