Prev: Converting Numeric MMDDYY10. into 11. numeric
Next: Converting Numeric MMDDYY10. into 11. numeric
From: Sunny on 28 Jan 2010 18:46 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
From: Arthur Tabachneck on 28 Jan 2010 18:59 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...(a)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
From: xlr82sas on 29 Jan 2010 00:35 On Jan 28, 3:59 pm, art...(a)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...(a)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 c:\sas 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 #!/usr/bin/csh cd /groundtruth/sas/programs /groundtruth/local/bin/sas mysasprogram You can execute crontab if your name appears in the file /usr/lib/cron/ cron.allow crontab -e Edit your crontab file, or create one if it doesnt 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 utl_tipweb.txt http://homepage.mac.com/magdelina/.Public/utl.html
From: Sunny on 29 Jan 2010 11:21 Thanks Art and Xlr I appreciate your help. Sunny On 29 Jan, 00:35, xlr82sas <xlr82...(a)aol.com> wrote: > On Jan 28, 3:59 pm, art...(a)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...(a)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 > c:\sas > > 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 > #!/usr/bin/csh > cd /groundtruth/sas/programs > /groundtruth/local/bin/sas mysasprogram > > You can execute crontab if your name appears in the file /usr/lib/cron/ > cron.allow > > crontab -e Edit your crontab file, or create one if it doesnt > 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 > utl_tipweb.txthttp://homepage.mac.com/magdelina/.Public/utl.html
|
Pages: 1 Prev: Converting Numeric MMDDYY10. into 11. numeric Next: Converting Numeric MMDDYY10. into 11. numeric |