This guide explains how to plan and monitor the execution of a shell command.
This guide is the continuation of the previous section, if you have not yet completed it, start here.
We will use two different runnerty notifiers, the console notifier and the email notifier. You can see the rest of available notifiers here.
console notifier will display the messages from:
email notifier will only be used for the:
In addition, a log file will be created that will record a summary at the end of the process.
1. The first step will be to add the email notifier to our project.
From the route of our project we execute:
To configure it edit
config.json and include this in
The mail pluging requires a template for sending emails. To start you can add a test template to your project from runnerty-cli:
2. Include the notifiers in the events of our process
PROCESS_ONE in the
3. Let's try
In the next minute the string will be executed returning through the terminal the notifications that we have configured.
4. Force the error in the process to check that your notification mail is working correctly.