{"id":1007,"date":"2011-12-21T06:59:00","date_gmt":"2011-12-21T04:59:00","guid":{"rendered":"http:\/\/oldblogs.uct.ac.za\/blog\/big-bytes\/2011\/12\/21\/mail-notifications-for-hpc-jobs"},"modified":"2015-08-14T13:17:37","modified_gmt":"2015-08-14T11:17:37","slug":"mail-notifications-for-hpc-jobs","status":"publish","type":"post","link":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/","title":{"rendered":"Mail notifications for HPC jobs"},"content":{"rendered":"We have introduced mail notifications within PBS to allow our users to be notified when a job begins, aborts and completes. The following additional directives will need to be set at the top of your job shell submission script.\r\n\r\n<strong>#PBS -m bae\u00a0 <\/strong>\r\n\r\n<strong>#PBS -M e-mail@domain.com\u00a0<\/strong>\r\n\r\nThe first directive \"-m\" indicates the notification options, (b) <strong>b<\/strong>egins, (a) <strong>a<\/strong>borts, (e) completion or <strong>e<\/strong>nd. You can either have all the options set or a single option. So if you just wanted to be notified about jobs completed, specify the \"e\" option within the directive.\r\n\r\n<strong>#PBS -m e <\/strong>\r\n\r\nThe second directive is \" -M \" and this implies that a e-mail address be specified to send the notifications to.\r\n\r\nDepending on the number of jobs being submitted we would strongly suggest creating a separate mail folder in which your notifications could be filtered into. Nobody likes a clunky inbox :-)\r\n\r\nHappy qsub'ing\r\n\r\n&nbsp;","protected":false},"excerpt":{"rendered":"<p>We have introduced mail notifications within PBS to allow our users to be notified when a job begins, aborts and completes. The following additional directives will need to be set at the top of your job shell submission script. <\/p>\n<p><strong>#PBS -m bae&nbsp; <\/strong><\/p>\n<p><strong>#PBS -M e-mail@domain.com&nbsp;<\/strong><\/p>\n<p>The first directive &#8220;-m&#8221; indicates the notification options, (b) <strong>b<\/strong>egins, (a) <strong>a<\/strong>borts, (e) completion or <strong>e<\/strong>nd. You can either have all the options set or a single option. So if you just wanted to be notified about jobs completed, specify the &#8220;e&#8221; option within the directive.<\/p>\n<p><strong>#PBS -m e <\/strong><\/p>\n<p>The second directive is &#8221; -M &#8221; and this implies that a e-mail address be specified to send the notifications to.&nbsp;<\/p>\n<p>Depending on the number of jobs being submitted we would strongly suggest creating a separate mail folder in which your notifications could be filtered into. Nobody likes a clunky inbox \ud83d\ude42&nbsp;<\/p>\n<p>Happy qsub&#8217;ing <\/p>\n<p>&nbsp;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Mail notifications for HPC jobs - UCT HPC<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mail notifications for HPC jobs - UCT HPC\" \/>\n<meta property=\"og:description\" content=\"We have introduced mail notifications within PBS to allow our users to be notified when a job begins, aborts and completes. The following additional directives will need to be set at the top of your job shell submission script. #PBS -m bae&nbsp; #PBS -M e-mail@domain.com&nbsp;The first directive &quot;-m&quot; indicates the notification options, (b) begins, (a) aborts, (e) completion or end. You can either have all the options set or a single option. So if you just wanted to be notified about jobs completed, specify the &quot;e&quot; option within the directive.#PBS -m e The second directive is &quot; -M &quot; and this implies that a e-mail address be specified to send the notifications to.&nbsp;Depending on the number of jobs being submitted we would strongly suggest creating a separate mail folder in which your notifications could be filtered into. Nobody likes a clunky inbox :-)&nbsp;Happy qsub&#039;ing &nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/\" \/>\n<meta property=\"og:site_name\" content=\"UCT HPC\" \/>\n<meta property=\"article:published_time\" content=\"2011-12-21T04:59:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-08-14T11:17:37+00:00\" \/>\n<meta name=\"author\" content=\"Timothy Carr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Timothy Carr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/\"},\"author\":{\"name\":\"Timothy Carr\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/41f6cd039836d7741f2b82a7b7cfe8d0\"},\"headline\":\"Mail notifications for HPC jobs\",\"datePublished\":\"2011-12-21T04:59:00+00:00\",\"dateModified\":\"2015-08-14T11:17:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/\"},\"wordCount\":154,\"publisher\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#organization\"},\"articleSection\":[\"torque\"],\"inLanguage\":\"en-ZA\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/\",\"name\":\"Mail notifications for HPC jobs - UCT HPC\",\"isPartOf\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#website\"},\"datePublished\":\"2011-12-21T04:59:00+00:00\",\"dateModified\":\"2015-08-14T11:17:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/#breadcrumb\"},\"inLanguage\":\"en-ZA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ucthpc.uct.ac.za\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mail notifications for HPC jobs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#website\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/\",\"name\":\"UCT HPC\",\"description\":\"University of Cape Town High Performance Computing\",\"publisher\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ucthpc.uct.ac.za\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-ZA\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#organization\",\"name\":\"University of Cape Town High Performance Computing\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-ZA\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png\",\"contentUrl\":\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png\",\"width\":450,\"height\":423,\"caption\":\"University of Cape Town High Performance Computing\"},\"image\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/41f6cd039836d7741f2b82a7b7cfe8d0\",\"name\":\"Timothy Carr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-ZA\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7e94dcf3a408e6ada008042fc29d4b15?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7e94dcf3a408e6ada008042fc29d4b15?s=96&d=mm&r=g\",\"caption\":\"Timothy Carr\"},\"sameAs\":[\"http:\/\/ucthpc.uct.ac.za\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mail notifications for HPC jobs - UCT HPC","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/","og_locale":"en_US","og_type":"article","og_title":"Mail notifications for HPC jobs - UCT HPC","og_description":"We have introduced mail notifications within PBS to allow our users to be notified when a job begins, aborts and completes. The following additional directives will need to be set at the top of your job shell submission script. #PBS -m bae&nbsp; #PBS -M e-mail@domain.com&nbsp;The first directive \"-m\" indicates the notification options, (b) begins, (a) aborts, (e) completion or end. You can either have all the options set or a single option. So if you just wanted to be notified about jobs completed, specify the \"e\" option within the directive.#PBS -m e The second directive is \" -M \" and this implies that a e-mail address be specified to send the notifications to.&nbsp;Depending on the number of jobs being submitted we would strongly suggest creating a separate mail folder in which your notifications could be filtered into. Nobody likes a clunky inbox :-)&nbsp;Happy qsub'ing &nbsp;","og_url":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/","og_site_name":"UCT HPC","article_published_time":"2011-12-21T04:59:00+00:00","article_modified_time":"2015-08-14T11:17:37+00:00","author":"Timothy Carr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Timothy Carr","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/#article","isPartOf":{"@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/"},"author":{"name":"Timothy Carr","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/41f6cd039836d7741f2b82a7b7cfe8d0"},"headline":"Mail notifications for HPC jobs","datePublished":"2011-12-21T04:59:00+00:00","dateModified":"2015-08-14T11:17:37+00:00","mainEntityOfPage":{"@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/"},"wordCount":154,"publisher":{"@id":"https:\/\/ucthpc.uct.ac.za\/#organization"},"articleSection":["torque"],"inLanguage":"en-ZA"},{"@type":"WebPage","@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/","url":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/","name":"Mail notifications for HPC jobs - UCT HPC","isPartOf":{"@id":"https:\/\/ucthpc.uct.ac.za\/#website"},"datePublished":"2011-12-21T04:59:00+00:00","dateModified":"2015-08-14T11:17:37+00:00","breadcrumb":{"@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/#breadcrumb"},"inLanguage":"en-ZA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2011\/12\/21\/mail-notifications-for-hpc-jobs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ucthpc.uct.ac.za\/"},{"@type":"ListItem","position":2,"name":"Mail notifications for HPC jobs"}]},{"@type":"WebSite","@id":"https:\/\/ucthpc.uct.ac.za\/#website","url":"https:\/\/ucthpc.uct.ac.za\/","name":"UCT HPC","description":"University of Cape Town High Performance Computing","publisher":{"@id":"https:\/\/ucthpc.uct.ac.za\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ucthpc.uct.ac.za\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-ZA"},{"@type":"Organization","@id":"https:\/\/ucthpc.uct.ac.za\/#organization","name":"University of Cape Town High Performance Computing","url":"https:\/\/ucthpc.uct.ac.za\/","logo":{"@type":"ImageObject","inLanguage":"en-ZA","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/","url":"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png","contentUrl":"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png","width":450,"height":423,"caption":"University of Cape Town High Performance Computing"},"image":{"@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/41f6cd039836d7741f2b82a7b7cfe8d0","name":"Timothy Carr","image":{"@type":"ImageObject","inLanguage":"en-ZA","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7e94dcf3a408e6ada008042fc29d4b15?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7e94dcf3a408e6ada008042fc29d4b15?s=96&d=mm&r=g","caption":"Timothy Carr"},"sameAs":["http:\/\/ucthpc.uct.ac.za"]}]}},"_links":{"self":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts\/1007"}],"collection":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/comments?post=1007"}],"version-history":[{"count":2,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts\/1007\/revisions"}],"predecessor-version":[{"id":2191,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts\/1007\/revisions\/2191"}],"wp:attachment":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/media?parent=1007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/categories?post=1007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/tags?post=1007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}