Hi,

Can you please help me what changes are required in an already existing Clock sycnchronization Program in C to add a txt.ini option in it which allows the progam to run just once and then terminate.

Thanks.

Marconi.

Once in what time-span? Such as once an hour? once a day? I would probably store the current date/time in the ini file, then on program startup read that information and act according to how often the program should run. such as if its not time to synchronize the clocks again yet then just quit.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.