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...

Read the manual page for 'crontab'

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.