Data Governance Administrator Guide > Configuring Axon > Configure Email Notifications
  

Configure Email Notifications

You can create a time-based job scheduler to receive emails from Axon. You must enter the details of the email system in the Admin Panel. You must also define the email schedule in the axon.jobs file.
You can schedule email notifications in the following time intervals:

Configure Email Delivery Options

To receive email notifications, you must enter the details of the email server in Axon.
You must have the SuperAdmin profile to perform this task.
    1. From the Axon toolbar, click the Admin Panel menu item under your user name.
    2. In the menu on the left, under the Customize & Configure category, click System Settings.
    3. In the Group list, select Email Options.
    4. Click Edit.
    5. Configure the following properties:
    Property
    Description
    Mailer Transport
    Email protocol. Make sure that you enter the value in the correct case. For example, enter gmail to configure Gmail account.
    Mailer Host
    Your email host address
    Mailer User Name
    Your email user name
    Mailer Password
    Your email password
    Mailer Port
    Email server port
    Disable Email Delivery
    Disable all email delivery to Axon users.
    Disable Notification Emails for Tasks
    Disable notification emails when Axon assigns tasks to users.
    Note: If you select the Disable Email Delivery option, Axon disables notification emails for tasks.
    6. Click Save.
    7. In the Linux environment, run the following command to clear the Axon cache and restart the necessary services:
    sh <INSTALLATION_DIR>/axonhome/third-party-app/scripts/paramsync
    When you run the paramsync script, Axon restarts the HTTPD, Memcached, and email notification services.
Note: When you clear the cache and restart the Axon services, the Axon web interface might be disrupted for some users that are logged into Axon. Informatica recommends that you update the cache after you save your changes in all the System Settings pages. Additionally, perform this action during a maintenance period when very few users are using Axon.

Create a Daily Email Notification Schedule

Perform the following steps to create a daily email notification schedule:
    1. Open the axon.jobs file available in the <INSTALLATION_DIR>/axonhome/axon_scheduler location.
    2. In the axon.jobs file, configure the following properties:
    Property
    Description
    name
    Enter a name for the notification job.
    cmd
    Enter <INSTALLATION_DIR>/axonhome/axon_scheduler/daily/dailyscript.sh.
    The dailyscript.sh script runs the job according to the schedule that you define in the axon.jobs file.
    time
    Specify the daily email schedule. The six asterisks * * * * * * represent <second> <minute> <hour> <date> <month> <day_of_the_week>.
    For example, to receive email notifications at 5.00 p.m. everyday, enter the following value: 0 0 17 * * *
    onError
    Enter Stop
    3. Save your changes.
    4. If you make changes to the axon.jobs file, you must reload the Jobber schedule settings. Run the following command to reload the settings:
    <INSTALLATION_DIR>/axonhome/third-party-app/scripts/jobber reload
To send periodic email notifications to the Axon user, the Jobber utility runs the dailyscript.sh file that you created.

Create a Weekly Email Notification Schedule

Perform the following steps to create a weekly email notification schedule:
    1. Open the axon.jobs file available in the <INSTALLATION_DIR>/axonhome/axon_scheduler location.
    2. In the axon.jobs file, configure the following properties:
    Property
    Description
    name
    Enter a name for the notification job.
    cmd
    Enter <INSTALLATION_DIR>/axonhome/axon_scheduler/weekly/weeklyscript.sh.
    The weeklyscript.sh script runs the job according to the schedule that you define in the axon.jobs file.
    time
    Specify the weekly email schedule. The six asterisks * * * * * * represent <second> <minute> <hour> <date> <month> <day_of_the_week>.
    For example, to receive email notifications at 9.00 a.m. on the third day of each week, enter the following value: 0 0 9 * * 3
    onError
    Enter Stop
    3. Save your changes.
    4. If you make changes to the axon.jobs file, you must reload the Jobber schedule settings. Run the following command to reload the settings:
    <INSTALLATION_DIR>/axonhome/third-party-app/scripts/jobber reload
To send periodic email notifications to the Axon user, the Jobber utility runs the weeklyscript.sh file that you created.

Create a Monthly Email Notification Schedule

Perform the following steps to create a monthly notification schedule:
    1. Open the axon.jobs file available in the <INSTALLATION_DIR>/axonhome/axon_scheduler location.
    2. In the axon.jobs file, configure the following properties:
    Property
    Description
    name
    Enter a name for the notification job.
    cmd
    Enter <INSTALLATION_DIR>/axonhome/axon_scheduler/monthly/monthlyscript.sh.
    The monthlyscript.sh script runs the job according to the schedule that you define in the axon.jobs file.
    time
    Specify the monthly email schedule. The six asterisks * * * * * * represent <second> <minute> <hour> <date> <month> <day_of_the_week>.
    For example, to receive email notifications at 2.30 p.m. on the seventeenth day of each month, enter the following value: 0 30 14 17 * *
    onError
    Enter Stop
    3. Save your changes.
    4. If you make changes to the axon.jobs file, you must reload the Jobber schedule settings. Run the following command to reload the settings:
    <INSTALLATION_DIR>/axonhome/third-party-app/scripts/jobber reload
To send periodic email notifications to the Axon user, the Jobber utility runs the monthlyscript.sh file that you created.