Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted 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.

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:

It is a hack but it works.