I have a script that I wrote in Linux that will read a line from a txt file containing email addresses, and send an email (the body comes from another txt file) to each address on the line that was read. I set up a cron-job so that the script runs on a weekly basis. I have since had numerous requests for the program, but the hitch is that it needs to run on Windows.
I want to write this thing in C, and I am looking for a way to have the program itself set up a schedule and run automatically - this way I can hand the executable to someone (most of the people that are interested in this do not know much at all about using a computer) and they can run it. I will basically have the program be a wizzard that asks questions, and based on the answers set up a scheduled task(s) for Windows to run. Where should I start looking for functions that will let me do that? Thanks.