def mod_watch(name, url='http://localhost:8080/manager', timeout=180):

    msg = __salt__['tomcat.reload'](name, url, timeout)
    result = msg.startswith('OK')

    ret = {'name': name,
       'result': result,
       'changes': {name: result},
       'comment': msg
       }

    return ret
Calls a delayed task 'sendmail' that enqueus email in Bulk Email queue
dataset/ETHPy150Open saltstack/salt/salt/states/tomcat.py/mod_watch--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/core/doctype/communication/communication.py/Communication.notify