I want to write a program to periodically transmit a message. I have a program which already checks whether any thing is there in the outbox and if there is, it transmits the file.
I want to write a program which will automatically create and send a file to the destination at fixed time intervals.
Essentially, my transmission program looks for two files, one - the message file in the outbox and two - a schedule file containing the name and the length of the message file. The message file has a name which depends on the day and the month so that it can be identified. I have already written the code to do so.
My problem is how can i write a program (tsr) which will wait in the back-ground and fire the above program say once every 10 or fifteen minutes. Can any one help?
I work in TURBO-C on DOS only!
Subra
if you find this useful let me know at vksubra@icenet.net
I want to write a program which will automatically create and send a file to the destination at fixed time intervals.
Essentially, my transmission program looks for two files, one - the message file in the outbox and two - a schedule file containing the name and the length of the message file. The message file has a name which depends on the day and the month so that it can be identified. I have already written the code to do so.
My problem is how can i write a program (tsr) which will wait in the back-ground and fire the above program say once every 10 or fifteen minutes. Can any one help?
I work in TURBO-C on DOS only!
Subra
if you find this useful let me know at vksubra@icenet.net