Following up on monitoring chores by email, we will take a slightly different approach this time.
We use a "metaprocess" to execute all the processes listed in the original chore, check their return status and eventually act on it.
This allows for maximum flexibility as you can get that controlling process to react differently to any exit status of any process.
Using the script in the Send Email Attachments article, it is possible to set it up to automatically email the Admin when a process in a chore fails.
Here is how to proceed:
1. Setup admin email process
First we create a process to add an email field to the ClientProperties cube and add an email to forward to the Admin.
1.1 create a new process
---- Advanced/Parameters Tab, insert this parameter:
AdminEmail / String / / "Admin Email?"
if you ever loaded a .cho file in an editor this is what you would expect:
Running chores on a specific day of the month
Scheduling chores in TM1 can be frustrating as it does not offer to run on specific dates or other types of events. The following article explains how to create chores schedules as flexible as you need them to be.
From the Server Explorer