Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

To schedule in MS-DOS or the CMD shell you can use the AT command or SCHTASKS program which are available at the command line depending on your version of Windows/DOS. But these are really intended on scheduling a task that happens infrequently.

http://ss64.com/nt/at.html

For something that needs to run as often as once per minute, you should probably use something that just causes a delay for that long. The windows CMD shell/MS-DOS does not really have a SLEEP command built (it was available in an old Microsoft resource kit) so instead I have used the PING trick described on the following page:

http://ss64.com/nt/sleep.html

It is a hack but it works.