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?
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?
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.