Email notifications
Skočit na navigaci
Skočit na vyhledávání
Metacentrum wiki is deprecated after March 2023
Dear users, due to integration of Metacentrum into https://www.e-infra.cz/en (e-INFRA CZ service), the documentation for users will change format and site. The current wiki pages won't be updated after end of March 2023. They will, however, be kept for a few months for backwards reference. The new documentation resides at https://docs.metacentrum.cz. |
PBS (Portable Batch System) allows users to set email notifications about the state of their job(s). Careless usage of this option can however result in large amount of emails and potentially activation of spam filters. To avoid this, we aggregate the email notifications in 30 minutes intervals (with some exceptions - see below) and send them as single email subjected PBS JOB squashed report.
Job options
Options for email notification are as follows:
PBS -m <mail events> Specifies the set of conditions under which mail about the job is sent. Sets job's Mail_Points attribute to mail events. The mail events argument can be one of the following: The single character "n" Any combination of "a", "b", and "e", with optional "j" The following table lists the sub-options to the -m option: n No mail is sent a Mail is sent when the job is aborted by the batch system b Mail is sent when the job begins execution e Mail is sent when the job terminates j Mail is sent for subjobs. Must be combined with one or more of the a , b , or e sub-options Default: a
Aggregation
- emails that notify about termination (
PBS -m e
) or abort (PBS -m a
) are aggregated in intervals of 30 minutes - upon notification about the beginning of the job (
PBS -m b
), everything aggregated so far is sent within 60 seconds and new aggregation interval starts - if no emails were generated within the last 30 minutes, any next email is sent within 60 seconds and then fresh aggregation period starts
The "PBS -m b
= 60 seconds" rule responds to the facts that some users rely on email notifications while waiting for their interactive jobs to start, in which case they need to be informed (almost) immediately. Other cases are squashed if possible.