ThemeEmail
Type

Testing

Available from


Overview

As a My Alerts Administrator you may wish to check how many users will receive an email at the next scheduled My Alerts run. You may also wish to check details for a specific User. Astun have provided a python script which you may download and run as required.

Requirements

Installation

Running the script

The script has a couple of parameters allowing you to return different My Alerts information.

Return the Help for the script

To display the Help for the script run the following:

myalerts.py -h

Example Output

Return My Alerts Summary

If you run the script without any parameters you will be given a summary of how many users will receive an email at the next schedule My Alerts run.

myalerts.py

Example Output

Return My Alerts Detailed Summary

If you wish to see a more detailed summary then run the script in verbose mode. In the example output you can see that one user will receive an email with information about 2 locations, while the other 2 will not receive any email.

myalerts.py -v

Example Output

Return My Alerts Summary for a specific User

You may wish to simply check if a specific User is going to be receiving an email or not. You can do this by specifying the userid for the My Alerts User you wish to check. To find the correct User Id for a user click on the User in the My Alerts Adminstrator Module in Studio - see Maintaining My Alerts Users - where you will find the User Id under the User Details.

myalerts.py -u [userid]

Example Output