diff --git a/services/webapp/code/rosetta/core_app/api.py b/services/webapp/code/rosetta/core_app/api.py index 17a3fbb1e26bccfa093256f46aa3bd0144e243e4..f425191951a736ab98a5a889c655afd4fc930d50 100644 --- a/services/webapp/code/rosetta/core_app/api.py +++ b/services/webapp/code/rosetta/core_app/api.py @@ -312,8 +312,8 @@ print(port) # Notify the user that the task called back home logger.info('Sending task ready mail notification to "{}"'.format(task.user.email)) - mail_subject = 'Your Task "{}" is up and running'.format(task.container.name) - mail_text = 'Hello,\n\nyour Task "{}" on {} is up and running: {}/tasks/?uuid={}\n\nThe Rosetta notifications bot.'.format(task.container.name, task.computing, settings.DJANGO_PUBLIC_HTTP_HOST, task.uuid) + mail_subject = 'Your Task "{}" is now starting up'.format(task.container.name) + mail_text = 'Hello,\n\nyour Task "{}" on {} is now starting up. Check logs or connect here: {}/tasks/?uuid={}\n\nThe Rosetta notifications bot.'.format(task.container.name, task.computing, settings.DJANGO_PUBLIC_HTTP_HOST, task.uuid) try: send_email(to=task.user.email, subject=mail_subject, text=mail_text) except Exception as e: