<?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: Scheduling recommendation in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Scheduling-recommendation/m-p/350729#M8312</link>
    <description>&lt;P&gt;Step 1: Determine at which time the job should run&lt;/P&gt;
&lt;P&gt;Step 2: switch to the user that is supposed to run the scheduled job (in any commandline window)&lt;/P&gt;
&lt;P&gt;Step 3: enter the command crontab -e&lt;BR /&gt;&amp;nbsp; your current crontab setting will be read and opened with vi (the classical UNIX fullscreen editor)&lt;/P&gt;
&lt;P&gt;Step 3: if the crontab is not empty, navigate to the last line of the file&lt;/P&gt;
&lt;P&gt;Step 4: enter "A" to start insert mode at the end of the current line; if the line is not empty, add a new line with [return]&lt;/P&gt;
&lt;P&gt;Step 5: enter a line in the following format:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; minutes hours day month weekday command&lt;/P&gt;
&lt;P&gt;&amp;nbsp; the columns are separated by blank space, blank spaces in the command do not matter, as it is the last column anyway&lt;/P&gt;
&lt;P&gt;&amp;nbsp; in every one of the first 5 columns, an asterisk can be entered to enable running in every occurence (every minute, every day, ...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; your line would probably look like&lt;/P&gt;
&lt;PRE&gt;35 4 * * * /usr/local/SAS/SASFoundation/9.4/sas program.sas&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; meaning your program runs at 04:35 every day.&lt;/P&gt;
&lt;P&gt;Step 5: press Escape, and then enter a colon immediately followed by a (non-capital!) x&lt;/P&gt;
&lt;P&gt;&amp;nbsp; this exits insert mode, saves the temporary file, and exits vi; crontab will then save your edited cron table to /var/spool/cron/crontabs/username, and your scheduled command will be active.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An explanation and short crontab tutorial can be found here: &lt;A href="http://www.adminschoice.com/crontab-quick-reference" target="_blank"&gt;http://www.adminschoice.com/crontab-quick-reference&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2017 07:31:42 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-04-18T07:31:42Z</dc:date>
    <item>
      <title>Scheduling recommendation</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Scheduling-recommendation/m-p/350718#M8310</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need the assistance regarding the Crontab Job Sheduling, I &amp;nbsp;have the .Sas&amp;nbsp;Program file (macro which create the Library for reporting)&lt;/P&gt;&lt;P&gt;and these need to be sheduled on dialy basis.Since, we do not have the LSF Job sheduler and this job need be be sheduled in the Crontab.please help me step by step to shedule this .sas job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 06:30:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Scheduling-recommendation/m-p/350718#M8310</guid>
      <dc:creator>Harish2</dc:creator>
      <dc:date>2017-04-18T06:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling recommendation</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Scheduling-recommendation/m-p/350729#M8312</link>
      <description>&lt;P&gt;Step 1: Determine at which time the job should run&lt;/P&gt;
&lt;P&gt;Step 2: switch to the user that is supposed to run the scheduled job (in any commandline window)&lt;/P&gt;
&lt;P&gt;Step 3: enter the command crontab -e&lt;BR /&gt;&amp;nbsp; your current crontab setting will be read and opened with vi (the classical UNIX fullscreen editor)&lt;/P&gt;
&lt;P&gt;Step 3: if the crontab is not empty, navigate to the last line of the file&lt;/P&gt;
&lt;P&gt;Step 4: enter "A" to start insert mode at the end of the current line; if the line is not empty, add a new line with [return]&lt;/P&gt;
&lt;P&gt;Step 5: enter a line in the following format:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; minutes hours day month weekday command&lt;/P&gt;
&lt;P&gt;&amp;nbsp; the columns are separated by blank space, blank spaces in the command do not matter, as it is the last column anyway&lt;/P&gt;
&lt;P&gt;&amp;nbsp; in every one of the first 5 columns, an asterisk can be entered to enable running in every occurence (every minute, every day, ...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; your line would probably look like&lt;/P&gt;
&lt;PRE&gt;35 4 * * * /usr/local/SAS/SASFoundation/9.4/sas program.sas&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; meaning your program runs at 04:35 every day.&lt;/P&gt;
&lt;P&gt;Step 5: press Escape, and then enter a colon immediately followed by a (non-capital!) x&lt;/P&gt;
&lt;P&gt;&amp;nbsp; this exits insert mode, saves the temporary file, and exits vi; crontab will then save your edited cron table to /var/spool/cron/crontabs/username, and your scheduled command will be active.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An explanation and short crontab tutorial can be found here: &lt;A href="http://www.adminschoice.com/crontab-quick-reference" target="_blank"&gt;http://www.adminschoice.com/crontab-quick-reference&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 07:31:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Scheduling-recommendation/m-p/350729#M8312</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-04-18T07:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling recommendation</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Scheduling-recommendation/m-p/350747#M8313</link>
      <description>Thank you so much..I will try this solution..</description>
      <pubDate>Tue, 18 Apr 2017 08:30:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Scheduling-recommendation/m-p/350747#M8313</guid>
      <dc:creator>Harish2</dc:creator>
      <dc:date>2017-04-18T08:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling recommendation</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Scheduling-recommendation/m-p/350785#M8316</link>
      <description>If do have Integration Technologies you could perform this from the management console. It gives you the (almost the same) functionality, but with graphical process flows and the schedule will be in your Metadata.</description>
      <pubDate>Tue, 18 Apr 2017 11:39:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Scheduling-recommendation/m-p/350785#M8316</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-04-18T11:39:35Z</dc:date>
    </item>
  </channel>
</rss>

