0

I have setup one job on chronos server where I need to configure mail service.

The mail service will send job status for both the situation job failure and success.

Where and which file do I need to edit or add?

Nathan Basanese
  • 8,475
  • 10
  • 37
  • 66

1 Answers1

3

You need to configure following args

--mail_from  <arg>                 Mail from field
--mail_password  <arg>             Mail password (for auth)
-m, --mail_server  <arg>           Address of the mailserver in server:port format
--mail_ssl                         Mail SSL
--mail_user  <arg>                 Mail user (for auth)

An email will be sent to owner (or owners if they were provided in a comma, separated form see: sendNotification() and only for following occasion:

To get information about the success you need to add this case.

janisz
  • 6,292
  • 4
  • 37
  • 70