add client and site name to script email closes #1945
This commit is contained in:
parent
282087d0f3
commit
ac3fb03b2d
|
@ -175,7 +175,7 @@ def run_script_email_results_task(
|
|||
return
|
||||
|
||||
CORE = get_core_settings()
|
||||
subject = f"{agent.hostname} {script.name} Results"
|
||||
subject = f"{agent.client.name}, {agent.site.name}, {agent.hostname} {script.name} Results"
|
||||
exec_time = "{:.4f}".format(r["execution_time"])
|
||||
body = (
|
||||
subject
|
||||
|
|
Loading…
Reference in New Issue