EmailAction
EmailAction
This action writes all the necessary data to a cache file ( cache.db ) that will be used later by the EmailAgent in order to send the emails for each site.
- class DIRAC.ResourceStatusSystem.PolicySystem.Actions.EmailAction.EmailAction(name, decisionParams, enforcementResult, singlePolicyResults, clients=None)
Bases:
BaseAction
- __init__(name, decisionParams, enforcementResult, singlePolicyResults, clients=None)
- run()
Checks it has the parameters it needs and writes the date to a cache file.