<?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 How to ask SAS to run a code every 1 hour in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-ask-SAS-to-run-a-code-every-1-hour/m-p/23617#M5247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could probably run your code in a loop, and use the sleep() function to wait until the next relevant time period.&amp;nbsp; However I'd imagine its probably better to schedule the code to run, either using Scheduled Tasks on Windows, or CRON on unix etc. - it depends on what your setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way, I suppose you'd also have to be sure that your code takes less than an hour to run!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2012 12:11:34 GMT</pubDate>
    <dc:creator>DF</dc:creator>
    <dc:date>2012-01-04T12:11:34Z</dc:date>
    <item>
      <title>How to ask SAS to run a code every 1 hour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-ask-SAS-to-run-a-code-every-1-hour/m-p/23616#M5246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking to run a piece of code every one hour, up to 5 times. I tried to use the wakeup function, but not worked. Do you know to achieve this task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 11:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-ask-SAS-to-run-a-code-every-1-hour/m-p/23616#M5246</guid>
      <dc:creator>bncoxuk</dc:creator>
      <dc:date>2012-01-04T11:28:14Z</dc:date>
    </item>
    <item>
      <title>How to ask SAS to run a code every 1 hour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-ask-SAS-to-run-a-code-every-1-hour/m-p/23617#M5247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could probably run your code in a loop, and use the sleep() function to wait until the next relevant time period.&amp;nbsp; However I'd imagine its probably better to schedule the code to run, either using Scheduled Tasks on Windows, or CRON on unix etc. - it depends on what your setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way, I suppose you'd also have to be sure that your code takes less than an hour to run!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 12:11:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-ask-SAS-to-run-a-code-every-1-hour/m-p/23617#M5247</guid>
      <dc:creator>DF</dc:creator>
      <dc:date>2012-01-04T12:11:34Z</dc:date>
    </item>
    <item>
      <title>How to ask SAS to run a code every 1 hour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-ask-SAS-to-run-a-code-every-1-hour/m-p/23618#M5248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I presume this is for sending out your emails.&amp;nbsp; If you are on Windows take a look at:&lt;/P&gt;&lt;P&gt;&lt;A href="http://analytics.ncsu.edu/sesug/2006/CC04_06.PDF"&gt;http://analytics.ncsu.edu/sesug/2006/CC04_06.PDF&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:24:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-ask-SAS-to-run-a-code-every-1-hour/m-p/23618#M5248</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-01-04T13:24:42Z</dc:date>
    </item>
    <item>
      <title>How to ask SAS to run a code every 1 hour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-ask-SAS-to-run-a-code-every-1-hour/m-p/23619#M5249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've put this right now using the sleep() function. Many thanks &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 14:17:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-ask-SAS-to-run-a-code-every-1-hour/m-p/23619#M5249</guid>
      <dc:creator>bncoxuk</dc:creator>
      <dc:date>2012-01-04T14:17:18Z</dc:date>
    </item>
  </channel>
</rss>

