hi
I have the following problem...

I have a program (c++ code) which updates some logs ...(i am using linux as the operating system)
I was wondering that is there a way by which i can execute this code/program after every two (or what ever time period expires )by creatiing some sort of script which runs automatically after every two hours and updates the logs by using the program ...

I mean to say that once i run the script the program will be executed after every two hours...

thanks
p.s. if this forum is not for these sort of question i am deeply sorry...

Re: how to execute an application/program after a certain amount of time has passed linux 80 80

Read the manual page for 'crontab'

Re: how to execute an application/program after a certain amount of time has passed linux 80 80

thanks
that seems to be working...thanks a lot
bye

Be a part of the DaniWeb community

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