|Date: ||Fri, 29 Jan 2010 08:21:33 -0800|
|Reply-To: ||Sunny <msunny17@GMAIL.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Sunny <msunny17@GMAIL.COM>|
|Subject: ||Re: How to schedule a execution of a macro daily|
|Content-Type: ||text/plain; charset=windows-1252|
Thanks Art and Xlr I appreciate your help.
On 29 Jan, 00:35, xlr82sas <xlr82...@aol.com> wrote:
> On Jan 28, 3:59 pm, art...@NETSCAPE.NET (Arthur Tabachneck) wrote:
> > Sunny,
> > If you are using Windows as your operating system there is always
> > Microsoft's scheduler.
> > Art
> > -----------
> > On Jan 28, 6:46 pm, Sunny <msunn...@gmail.com> wrote:
> > > Hello Group,
> > > I want to schedule the execution of a Macro xyz
> > > which is already stored in a compile form in Lib .
> > > inside macro name xyz there are 18 other macros all
> > > compiled.
> > > I just want to trigger the execution of my xyz macro
> > > automatically daily at 8 p.m, any idea how to
> > > go about it which system command I should Use.
> > > Thanks
> > > Sunny- Hide quoted text -
> > - Show quoted text -
> In windows 2000
> start>settings>control panel>scheduled tasks>schedule wizard>sas
> 9.2>daily>10:am>user name/passowrd>advance properties>
> put the following in run dialog box
> C:\Program Files\SAS\SAS 9.1\sas.exe" -nosplash -sysin c:\sas\pgm.sas -
> log nul: -print nul:
> put the following in start in box
> You don't have to have a null log and list. I send an email with the
> log and list when the program fails
> In Unix
> create a file called cronjob.txt with just the line below
> 0 2 * * 1-5 /groundtruth/programs/program.csh
> mm hh dd mon day
> run at 2am every monday-friday
> here is what program.csh looks like
> cd /groundtruth/sas/programs
> /groundtruth/local/bin/sas mysasprogram
> You can execute crontab if your name appears in the file /usr/lib/cron/
> crontab -e Edit your crontab file, or create one if it doesn’t
> already exist.
> crontab -l Display your crontab file.
> crontab -r Remove your crontab file.
> crontab -v Display the last time you edited your crontab file.
> /* T004680 SETTING UP CHRON JOBS ON UNIX AND WINDOWS