<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alert or notification for scheduled jobs in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Alert-or-notification-for-scheduled-jobs/m-p/393257#M10276</link>
    <description>&lt;P&gt;On SMC you can scheduler you SAS Jobs, but you have no resource for controlling the jobs behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll to use a SAS program to send e-mails depending the job's&amp;nbsp;state&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2017 15:02:54 GMT</pubDate>
    <dc:creator>Alessandro</dc:creator>
    <dc:date>2017-09-05T15:02:54Z</dc:date>
    <item>
      <title>Alert or notification for scheduled jobs</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Alert-or-notification-for-scheduled-jobs/m-p/393239#M10275</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm working with scheduling jobs in SMC. I want to send a mail or receive an alert for the failed job and was wondering if there is such feutures for scheduled jobs(in SMC)? Or should I write a separate sas program for scheduled jobs to&amp;nbsp;send a mail?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I read some information that there is such alert for SAS work directory and server log file.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 14:35:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Alert-or-notification-for-scheduled-jobs/m-p/393239#M10275</guid>
      <dc:creator>Riana</dc:creator>
      <dc:date>2017-09-05T14:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Alert or notification for scheduled jobs</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Alert-or-notification-for-scheduled-jobs/m-p/393257#M10276</link>
      <description>&lt;P&gt;On SMC you can scheduler you SAS Jobs, but you have no resource for controlling the jobs behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll to use a SAS program to send e-mails depending the job's&amp;nbsp;state&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 15:02:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Alert-or-notification-for-scheduled-jobs/m-p/393257#M10276</guid>
      <dc:creator>Alessandro</dc:creator>
      <dc:date>2017-09-05T15:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alert or notification for scheduled jobs</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Alert-or-notification-for-scheduled-jobs/m-p/393268#M10277</link>
      <description>&lt;P&gt;Hi Riana -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you considered scheduling on the OS and integrating the organization's&amp;nbsp;smtp server for notifications? You can do this easily on Linux OS by editing your contab entry (using the sas install account).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;su to SAS account:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;~ sudo su -l sas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;open in VI:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;~ crontab -e&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;edit file:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SHELL=/bin/bash&lt;BR /&gt;PATH=/sbin:/bin:/usr/sbin:/usr/bin&lt;BR /&gt;MAILTO=sas&lt;BR /&gt;# For details see man 4 crontabs&lt;/P&gt;&lt;P&gt;# Example of job definition:&lt;BR /&gt;# .---------------- minute (0 - 59)&lt;BR /&gt;# | .------------- hour (0 - 23)&lt;BR /&gt;# | | .---------- day of month (1 - 31)&lt;BR /&gt;# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...&lt;BR /&gt;# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat&lt;BR /&gt;# | | | | |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then create an alias in etc/aliases&amp;nbsp;for the distro list:&lt;/P&gt;&lt;P&gt;sasadmins: &amp;nbsp;email1@address.com,email2@address.com, etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then run newaliases to update the database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 15:36:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Alert-or-notification-for-scheduled-jobs/m-p/393268#M10277</guid>
      <dc:creator>rkbright</dc:creator>
      <dc:date>2017-09-05T15:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alert or notification for scheduled jobs</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Alert-or-notification-for-scheduled-jobs/m-p/393358#M10287</link>
      <description>&lt;P&gt;What scheduling server are you using in SMC? If it is Platform Process Manager then you can set this up in the scheduled job properties.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 20:32:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Alert-or-notification-for-scheduled-jobs/m-p/393358#M10287</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-09-05T20:32:55Z</dc:date>
    </item>
  </channel>
</rss>

