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/