Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Auto-run program on the hour, every hour


From   Jeph Herrin <junk@spandrel.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Auto-run program on the hour, every hour
Date   Sat, 07 Jun 2008 22:01:58 -0400

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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index