Skip to content

Commit

Permalink
add client and site name to script email closes #1945
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1te909 committed Jul 30, 2024
1 parent 282087d commit ac3fb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tacticalrmm/agents/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac3fb03

Please sign in to comment.