Changes between Version 46 and Version 47 of RoseCylc/Hints


Ignore:
Timestamp:
19/08/16 11:47:59 (3 years ago)
Author:
annette
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • RoseCylc/Hints

    v46 v47  
    120120 
    121121To check this has worked correctly, run the command: {{{rose host-select archer}}} and it should return an active host. 
     122 
     123=== Mail notifications ===  
     124 
     125You can add cylc event handlers to your suite to email you when tasks run or fail. See the cylc documentation for more information: https://cylc.github.io/cylc/html/multi/cug-htmlse12.html#12.15 
     126 
     127You will need to set your email address in your cylc configuration file. Open or create a new file `~/.cylc/global.rc` and add the following lines, using your own email address in place of `dummy-email`:  
     128{{{ 
     129[task events]  
     130  mail to = dummy-email 
     131}}} 
     132 
     133Then add even notifications to your suite's `suite.rc file`, for example: 
     134{{{ 
     135        [[[events]]] 
     136            mail events = succeeded, failed 
     137}}} 
     138These can go under `[runtime] -> [[root]]` or a specific task definition. For a full set of notifications see the documentation pointed to above.  
     139 
     140Note that it is recommended to use cylc notifications rather than Rose notifications. Rose notifications have the form `rose suite-hook --mail` and may not work on PUMA.  
    122141 
    123142== Troubleshooting common errors ==