This is helpful. My OS is Windows XP. I'm trying to tinker with the
properties of the scheduled task to get it to work... right now all
it does is pass the name of the do-file to stata in quotes, and Stata
responds by saying that it's not a valid command. Does anyone know of
a way around this?
On Sat, Jun 7, 2008 at 7:01 PM, Jeph Herrin <[email protected]> wrote:
>
> I think you want the OS to do this, not Stata. You
> don't say what your OS is, in Linux see -at-, in
> XP use the scheduler (Start->Accessories->System Tools
> -> Scheduled Tasks on my setup, but yours may vary).
>
> I don't know about a Mac, though I assume OS X has a
> command line version of -at-.
>
> hope this helps,
> Jeph
>
>
> Dan Weitzenfeld wrote:
>>
>> Hi All,
>> Is there a way to have a do-file or program run at a given clock-time
>> every day, automatically?
>> I can think of a kluge, whereby the program is infinitely looping, and
>> if c(current_time) fits the desired criteria, the process runs.
>> I'm wondering if there is a more sane way to achieve this result?
>> Thanks in advance,
>> Dan
>> *
>> * For searches and help try:
>> * http://www.stata.com/support/faqs/res/findit.html
>> * http://www.stata.com/support/statalist/faq
>> * http://www.ats.ucla.edu/stat/stata/
>>
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/