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: DIRAC.ResourceStatusSystem.PolicySystem.Actions.BaseAction.BaseAction

__init__(name, decisionParams, enforcementResult, singlePolicyResults, clients=None)

x.__init__(…) initializes x; see help(type(x)) for signature

run()

Checks it has the parameters it needs and writes the date to a cache file.